mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Ensure handle colors are set properly
This commit is contained in:
parent
3a5d99051c
commit
74cb446c60
@ -343,6 +343,8 @@ class CreateAnnotation:
|
||||
|
||||
sd = get_session_data()
|
||||
style = sd.get('highlight_style') or default_highlight_style()
|
||||
if not style['background-color'] or not style['color']:
|
||||
style = default_highlight_style()
|
||||
self.current_highlight_style = style
|
||||
|
||||
lh = selection_handle(False, style)
|
||||
@ -613,6 +615,7 @@ class CreateAnnotation:
|
||||
c = self.container
|
||||
c.style.display = 'flex'
|
||||
c.focus()
|
||||
self.update_handle_colors()
|
||||
self.view.selection_bar.hide()
|
||||
|
||||
def hide(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user