Make interactive scaling work again

This commit is contained in:
Roberto Alsina 2020-02-05 19:59:09 -03:00
parent 6ca4100bab
commit 709de20e9e

View File

@ -272,7 +272,7 @@ class Window(QObject):
else:
monitor.res_x = int(mode_y * self.ui.horizontalScale.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):
self.pos_label.setText(f"{x},{y}")