Enable contents labels on q for "query"
parent
54baa7b132
commit
cfd6e3216f
|
@ -333,9 +333,13 @@ class Cursor(pg.GraphicsObject):
|
|||
def in_query_mode(self, value: bool) -> None:
|
||||
if self._in_query_mode and not value:
|
||||
|
||||
# edge trigger hide all labels
|
||||
# edge trigger "off" hide all labels
|
||||
self.contents_labels.hide()
|
||||
|
||||
elif not self._in_query_mode and value:
|
||||
# edge trigger "on" hide all labels
|
||||
self.contents_labels.update_labels(self._datum_xy[0])
|
||||
|
||||
self._in_query_mode = value
|
||||
|
||||
def add_hovered(
|
||||
|
|
Loading…
Reference in New Issue