keyboard_widget: fix scaled (unlocker) display with layout options
parent
1e1b86b283
commit
9be4a4df19
|
|
@ -265,8 +265,8 @@ class KeyboardWidget(QWidget):
|
|||
for idx, key in enumerate(self.widgets):
|
||||
qp.save()
|
||||
|
||||
qp.translate(key.shift_x, key.shift_y)
|
||||
qp.scale(self.scale, self.scale)
|
||||
qp.translate(key.shift_x, key.shift_y)
|
||||
qp.translate(key.rotation_x, key.rotation_y)
|
||||
qp.rotate(key.rotation_angle)
|
||||
qp.translate(-key.rotation_x, -key.rotation_y)
|
||||
|
|
|
|||
Loading…
Reference in New Issue