Skip to content

Commit

Permalink
Showing rewrite previews now actually listens to the user setting for it
Browse files Browse the repository at this point in the history
  • Loading branch information
jvdwetering committed Jul 24, 2024
1 parent 40d0ea0 commit f1fb7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zxlive/rewrite_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def update_active(self, g: GraphT, verts: list[VT], edges: list[ET]) -> None:

@property
def tooltip(self) -> str:
if self.picture_path is None:
if self.picture_path is None or display_setting.previews_show == False:
return self.tooltip_str
if self.picture_path == 'custom':
# We will create a custom tooltip picture representing the custom rewrite
Expand Down

0 comments on commit f1fb7b2

Please sign in to comment.