mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update paged layout on window resize
This commit is contained in:
parent
fad0e76875
commit
0f994abe2f
@ -95,6 +95,8 @@ class Boss:
|
|||||||
pass # TODO: Update CFI
|
pass # TODO: Update CFI
|
||||||
|
|
||||||
def onresize(self):
|
def onresize(self):
|
||||||
|
if current_layout_mode() is not 'flow':
|
||||||
|
self.do_layout()
|
||||||
self.update_cfi()
|
self.update_cfi()
|
||||||
|
|
||||||
def onwheel(self, evt):
|
def onwheel(self, evt):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user