Fix: POPUP_CONFIRM was double clicked when leaving fuel popup

This commit is contained in:
LmeSzinc 2024-07-19 15:29:11 +08:00
parent 8c5d516300
commit 087c0371c8

View File

@ -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