on xenial help sign in
comment out the automatic maximization
commit4db8944d3bcf6457d0835aa1c91ae700ffe57e27 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateFri 26 Aug 2016, 16:38 (10 years ago) parent8c60973
1 file changed+5−2
qml/Stages/FakeMaximizeDelegate.qml+5−2
qml/Stages/FakeMaximizeDelegate.qml+5−2
@@ -46,6 +46,8 @@ Rectangle {
4646 print("!!! Progress:", progress)
4747 }
4848
49+ signal passed(int origin)
50+
4951 QtObject {
5052 id: priv
5153
@@ -65,8 +67,9 @@ Rectangle {
6567 }
6668
6769 if (accumulatedPush === EdgeBarrierSettings.pushThreshold) {
68− print("!!! Reached push progress 1, maximizing")
69− commit();
70+ print("!!! Reached push progress 1; commit/passed")
71+ passed(edge);
72+ // commit(); // NB: uncomment to have automatic maximization on 100% progress
7073 }
7174 }
7275