mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
Fix: POPUP_CONFIRM was double clicked when leaving fuel popup
This commit is contained in:
parent
8c5d516300
commit
087c0371c8
@ -52,6 +52,7 @@ class Fuel(UI):
|
||||
continue
|
||||
|
||||
self._fuel_wait_leave()
|
||||
self.interval_reset([POPUP_CONFIRM, POPUP_CANCEL], interval=2)
|
||||
|
||||
def _fuel_cancel(self, skip_first_screenshot=True):
|
||||
"""
|
||||
@ -75,6 +76,7 @@ class Fuel(UI):
|
||||
continue
|
||||
|
||||
self._fuel_wait_leave()
|
||||
self.interval_reset([POPUP_CONFIRM, POPUP_CANCEL], interval=2)
|
||||
|
||||
def _fuel_wait_leave(self):
|
||||
# Blur disappears before popup
|
||||
|
Loading…
Reference in New Issue
Block a user