From fd6ed6cacbf3c5ea54557164c058e08b50eda5ea Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 10 Sep 2020 07:53:13 +0530 Subject: [PATCH] Tooltips for highlight styles --- src/pyj/read_book/highlights.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/read_book/highlights.pyj b/src/pyj/read_book/highlights.pyj index e6a76d087e..bc80561e2a 100644 --- a/src/pyj/read_book/highlights.pyj +++ b/src/pyj/read_book/highlights.pyj @@ -448,7 +448,7 @@ class EditNotesAndColors: # {{{ 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')