mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-03 00:46:09 +01:00
Tooltips for highlight styles
This commit is contained in:
parent
94479386d9
commit
fd6ed6cacb
1 changed files with 1 additions and 1 deletions
|
|
@ -448,7 +448,7 @@ def add_color(self, hs, at_start):
|
|||
sqbg = get_color('window-background2') if is_current else 'unset'
|
||||
item = E.div(
|
||||
ic, style=f'padding: 4px; background-color: {sqbg}; margin: 4px; border-radius: {ICON_SIZE_VAL/4}{ICON_SIZE_UNIT}',
|
||||
onclick=self.change_color
|
||||
onclick=self.change_color, title=hs.friendly_name
|
||||
)
|
||||
if is_current:
|
||||
item.classList.add('current-swatch')
|
||||
|
|
|
|||
Loading…
Reference in a new issue