mirror of
https://github.com/ralsina/xrandroll.git
synced 2024-11-21 18:42:22 +00:00
Make interactive scaling work again
This commit is contained in:
parent
6ca4100bab
commit
709de20e9e
@ -272,7 +272,7 @@ class Window(QObject):
|
|||||||
else:
|
else:
|
||||||
monitor.res_x = int(mode_y * self.ui.horizontalScale.value() / 1000)
|
monitor.res_x = int(mode_y * self.ui.horizontalScale.value() / 1000)
|
||||||
monitor.res_y = int(mode_x * self.ui.verticalScale.value() / 1000)
|
monitor.res_y = int(mode_x * self.ui.verticalScale.value() / 1000)
|
||||||
# TODO self.xrandr_info[mon]["item"].update_visuals(self.xrandr_info[mon])
|
monitor.item.update_visuals(monitor)
|
||||||
|
|
||||||
def show_pos(self, x, y):
|
def show_pos(self, x, y):
|
||||||
self.pos_label.setText(f"{x},{y}")
|
self.pos_label.setText(f"{x},{y}")
|
||||||
|
Loading…
Reference in New Issue
Block a user