on xenial help sign in
shorten drag handle in fullscreen. Use state change
commitfdb56beba6e66846dadc08bfe5231c78adb47cdf authorNick Dedekind <nick.dedekind@canonical.com> dateThu 2 Oct 2014, 11:31 (12 years ago) parentb7ba76d
1 file changed+4−4
qml/Panel/Panel.qml+4−4
qml/Panel/Panel.qml+4−4
@@ -147,10 +147,6 @@ Item {
147147 }
148148 }
149149
150− showDragHandle {
151− anchors.bottomMargin: fullscreenMode ? -minimizedPanelHeight : 0
152− }
153−
154150 hideDragHandle {
155151 anchors.bottomMargin: -indicatorOrangeLine.height
156152 }
@@ -197,6 +193,10 @@ Item {
197193 target: indicatorArea;
198194 anchors.topMargin: indicators.state === "initial" ? -d.indicatorHeight : 0
199195 }
196+ PropertyChanges {
197+ target: indicators.showDragHandle;
198+ anchors.bottomMargin: -units.gu(1)
199+ }
200200 }
201201 ]
202202}