mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 09:03:07 +02:00
Update paged layout on window resize
This commit is contained in:
parent
fad0e76875
commit
0f994abe2f
1 changed files with 2 additions and 0 deletions
|
|
@ -95,6 +95,8 @@ def update_cfi(self):
|
|||
pass # TODO: Update CFI
|
||||
|
||||
def onresize(self):
|
||||
if current_layout_mode() is not 'flow':
|
||||
self.do_layout()
|
||||
self.update_cfi()
|
||||
|
||||
def onwheel(self, evt):
|
||||
|
|
|
|||
Loading…
Reference in a new issue