Browse Source

Revert "Prevent MachineSettings dialog go beyond the top of screen"

This reverts commit a0f841e8eb2e3fc41a5d053232ea29cf538e30be.
Lipu Fei 8 years ago
parent
commit
6644a4d386
1 changed files with 0 additions and 5 deletions
  1. 0 5
      resources/qml/Preferences/MachinesPage.qml

+ 0 - 5
resources/qml/Preferences/MachinesPage.qml

@@ -114,11 +114,6 @@ UM.ManagementPage
             property var content
             minimumWidth: 350 * Screen.devicePixelRatio;
             minimumHeight: 350 * Screen.devicePixelRatio;
-
-            // prevent the Machine Settings dialog from going beyond the top of the screen
-            x: (x < 0) ? 0 : x
-            y: (y < 0) ? 0 : y
-
             onContentChanged:
             {
                 contents = content;