mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-30 06:44:33 +02: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
1 changed files with 3 additions and 3 deletions
|
|
@ -331,9 +331,6 @@ def ac(text, tooltip, action, icon, is_text_button):
|
|||
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 @@ def ac(text, tooltip, action, icon, is_text_button):
|
|||
, '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…
Reference in a new issue