Skip to content

Commit

Permalink
Change behavior of of re-pressing the hotkey
Browse files Browse the repository at this point in the history
  • Loading branch information
DaelonSuzuka committed Dec 20, 2024
1 parent c5fed55 commit fbab50b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/stagehand/plugins/radial_menu/radial_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ def create_action(self, data=None):

def open_popup(self):
if self.menu:
self.menu.move_to_cursor()
# self.menu.move_to_cursor()
self.menu.deleteLater()
self.menu = None
return
self.menu = RadialPopup(list(self._actions.keys()), bg=self.color.text())
self.menu.buttonClicked.connect(self.popup_clicked)
Expand Down

0 comments on commit fbab50b

Please sign in to comment.