This commit is contained in:
Roberto Alsina 2020-02-03 08:32:24 -03:00
parent 8cea68a12d
commit c37bbf4bb4
2 changed files with 1 additions and 4 deletions

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "xrandroll"
version = "0.1.0"
version = "0.1.1"
description = "A powertool to configure your display"
authors = ["Roberto Alsina <roberto.alsina@gmail.com>"]
license = "MIT"

View File

@ -218,9 +218,6 @@ class Window(QObject):
target_x, target_y = [replicate[x] for x in ["res_x", "res_y"]]
scale_x = 1000 * target_x / mod_x
scale_y = 1000 * target_y / mod_y
breakpoint()
print(target_x, target_y, mod_x, mod_y)
print(scale_x, scale_y)
self.ui.horizontalScale.setValue(scale_x)
self.ui.verticalScale.setValue(scale_y)