From 3a5d99051c94d85bc3ac569ea910c7d974524d90 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 22 Jul 2020 22:35:42 +0530 Subject: [PATCH] Prevent selection_bar from becoming visible when create annotations panel is visible --- src/pyj/read_book/selection_bar.pyj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pyj/read_book/selection_bar.pyj b/src/pyj/read_book/selection_bar.pyj index f078352101..a6d189d27d 100644 --- a/src/pyj/read_book/selection_bar.pyj +++ b/src/pyj/read_book/selection_bar.pyj @@ -48,6 +48,8 @@ class SelectionBar: self.container.style.display = 'none' def show(self): + if self.view.create_annotation.is_visible: + return self.container.style.display = 'block' @property