mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1907842 [Move Read aloud button above the Exit full screen button in the Content server viewer controls](https://bugs.launchpad.net/calibre/+bug/1907842)
This commit is contained in:
parent
3356597218
commit
66abe58c33
@ -331,9 +331,6 @@ class MainOverlay: # {{{
|
||||
window.setTimeout(self.overlay.view.toggle_autoscroll, 0)
|
||||
, 'auto-scroll'))
|
||||
|
||||
if full_screen_actions.length:
|
||||
actions_div.appendChild(E.ul(*full_screen_actions))
|
||||
|
||||
actions_div.appendChild(E.ul(
|
||||
ac(_('Read aloud'), _('Read the book aloud'), def():
|
||||
self.overlay.hide()
|
||||
@ -341,6 +338,9 @@ class MainOverlay: # {{{
|
||||
, 'bullhorn')
|
||||
))
|
||||
|
||||
if full_screen_actions.length:
|
||||
actions_div.appendChild(E.ul(*full_screen_actions))
|
||||
|
||||
no_selection_bar = not sd.get('show_selection_bar')
|
||||
if runtime.is_standalone_viewer:
|
||||
if no_selection_bar:
|
||||
|
Loading…
x
Reference in New Issue
Block a user