Reduce the update debounce interval for smoother interactive editing
This commit is contained in:
parent
1e555e91ba
commit
01885ae2a3
@ -61,7 +61,7 @@ class TerminalWidget(QWidget):
|
|||||||
t.timeout.connect(self.do_layout)
|
t.timeout.connect(self.do_layout)
|
||||||
self.debounce_update_timer = t = QTimer(self)
|
self.debounce_update_timer = t = QTimer(self)
|
||||||
t.setSingleShot(True)
|
t.setSingleShot(True)
|
||||||
t.setInterval(50)
|
t.setInterval(20)
|
||||||
t.timeout.connect(self.do_update_screen)
|
t.timeout.connect(self.do_update_screen)
|
||||||
self.pending_update = QRegion()
|
self.pending_update = QRegion()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user