on xenial help sign in
cleanup
d646dc1Michael Zanetti
qml/Stages/DesktopStage.qml−4
@@ -205,7 +205,6 @@ Rectangle {
205 id: appDelegate
205 id: appDelegate
206 z: ApplicationManager.count - index
206 z: ApplicationManager.count - index
207 y: units.gu(3)
207 y: units.gu(3)
208−
209 width: units.gu(60)
208 width: units.gu(60)
210 height: units.gu(50)
209 height: units.gu(50)
211
210
@@ -221,7 +220,6 @@ Rectangle {
221 property bool maximized: false
220 property bool maximized: false
222 property bool minimized: false
221 property bool minimized: false
223
222
224−
225 onFocusChanged: {
223 onFocusChanged: {
226 if (focus && ApplicationManager.focusedApplicationId !== model.appId) {
224 if (focus && ApplicationManager.focusedApplicationId !== model.appId) {
227 ApplicationManager.requestFocusApplication(model.appId);
225 ApplicationManager.requestFocusApplication(model.appId);
@@ -525,8 +523,6 @@ Rectangle {
525 contentWidth: Math.max(6, ApplicationManager.count) * Math.min(height / 4, width / 5)
523 contentWidth: Math.max(6, ApplicationManager.count) * Math.min(height / 4, width / 5)
526 enabled: false
524 enabled: false
527
525
528− onContentXChanged: print("cx", contentX)
529−
530 function snapTo(contentX) {
526 function snapTo(contentX) {
531 snapAnimation.stop();
527 snapAnimation.stop();
532 snapAnimation.to = contentX
528 snapAnimation.to = contentX