mirror of
https://github.com/ralsina/xrandroll.git
synced 2024-11-22 02:52:23 +00:00
v 0.1.1
This commit is contained in:
parent
8cea68a12d
commit
c37bbf4bb4
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "xrandroll"
|
name = "xrandroll"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
description = "A powertool to configure your display"
|
description = "A powertool to configure your display"
|
||||||
authors = ["Roberto Alsina <roberto.alsina@gmail.com>"]
|
authors = ["Roberto Alsina <roberto.alsina@gmail.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
@ -218,9 +218,6 @@ class Window(QObject):
|
|||||||
target_x, target_y = [replicate[x] for x in ["res_x", "res_y"]]
|
target_x, target_y = [replicate[x] for x in ["res_x", "res_y"]]
|
||||||
scale_x = 1000 * target_x / mod_x
|
scale_x = 1000 * target_x / mod_x
|
||||||
scale_y = 1000 * target_y / mod_y
|
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.horizontalScale.setValue(scale_x)
|
||||||
self.ui.verticalScale.setValue(scale_y)
|
self.ui.verticalScale.setValue(scale_y)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user