Skip to content

Commit 0d4affe

Browse files
committed
gwl: Bring back slider buttons
1 parent 9299515 commit 0d4affe

3 files changed

Lines changed: 248 additions & 82 deletions

File tree

data/theme/cinnamon-sass/widgets/_windowlist.scss

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,29 @@
109109
}
110110

111111
&-scrollbox {
112-
&.vfade {
113-
-st-vfade-offset: 68px;
114-
-st-hfade-offset: 0;
112+
&-scrollview {
113+
&.vfade {
114+
-st-vfade-offset: 48px;
115+
-st-hfade-offset: 0;
116+
}
117+
&.hfade {
118+
-st-hfade-offset: 48px;
119+
-st-vfade-offset: 0;
120+
}
115121
}
116-
&.hfade {
117-
-st-hfade-offset: 68px;
118-
-st-vfade-offset: 0;
122+
123+
&-button {
124+
&-start,
125+
&-end,
126+
&-up,
127+
&-down {
128+
margin: 0;
129+
padding: 0;
130+
}
131+
132+
&-icon {
133+
icon-size: $scalable_icon_size;
134+
}
119135
}
120136
}
121137
}

files/usr/share/cinnamon/applets/grouped-window-list@cinnamon.org/applet.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,8 +799,8 @@ class GroupedWindowListApplet extends Applet.Applet {
799799
let adjustmentValue = 0;
800800
if (currentWorkspace.scrollBox) {
801801
const adjustment = this.state.isHorizontal ?
802-
currentWorkspace.scrollBox.actor.get_hscroll_bar().get_adjustment() :
803-
currentWorkspace.scrollBox.actor.get_vscroll_bar().get_adjustment();
802+
currentWorkspace.scrollBox.scrollView.get_hscroll_bar().get_adjustment() :
803+
currentWorkspace.scrollBox.scrollView.get_vscroll_bar().get_adjustment();
804804
adjustmentValue = adjustment.get_value();
805805
}
806806

0 commit comments

Comments
 (0)