Skip to content

Commit 0839814

Browse files
authored
No High DPI Scaling
1 parent 6a674f6 commit 0839814

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,12 @@ def mouseReleaseEvent(self, event):
122122
self.startpos = None
123123
super().mouseReleaseEvent(event)
124124

125+
os.environ["QT_ENABLE_HIGHDPI_SCALING"] = "0"
125126

126127
if __name__ == "__main__":
127128
app = QApplication(sys.argv)
128129
print('Ready!')
129130
while True:
130131
keyboard.wait(SHORTCUT)
131132
window = SelectorWindow()
132-
app.exec()
133+
app.exec()

0 commit comments

Comments
 (0)