[gnome-shell-sass] screenshot-ui: Add cursor capturing option



commit 9b0335b4f2696adc0fa2ba29545408cb6acc5110
Author: Ivan Molodetskikh <yalterz gmail com>
Date:   Mon Aug 16 18:12:05 2021 +0300

    screenshot-ui: Add cursor capturing option
    
    The cursor texture, scale and position is captured separately and
    overlaid on top of the preview, and on top of the final screenshot
    image. This allows toggling it on and off post-factum.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1954>

 widgets/_screenshot.scss | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/widgets/_screenshot.scss b/widgets/_screenshot.scss
index 0abc0f8..87cd693 100644
--- a/widgets/_screenshot.scss
+++ b/widgets/_screenshot.scss
@@ -70,6 +70,19 @@
   }
 }
 
+.screenshot-ui-show-pointer-button {
+  padding: $base_padding * 2;
+  border-radius: 99px;
+  background-color: $hover_bg_color;
+  &:hover, &:focus { background-color: lighten($hover_bg_color, 5%); }
+  &:active { background-color: $active_bg_color; }
+  &:checked { background-color: darken($hover_bg_color, 10%); }
+
+  StIcon {
+    icon-size: $base_icon_size;
+  }
+}
+
 .screenshot-ui-area-indicator-shade {
   background-color: rgba(0, 0, 0, .3);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]