mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 01:38:21 +08:00
Fix: [ALAS] Re-init MaaTouch when orientation changed
This commit is contained in:
@@ -183,6 +183,16 @@ class Device(Screenshot, Control, AppControl):
|
||||
if self.config.Emulator_ScreenshotMethod == 'nemu_ipc':
|
||||
self.nemu_ipc_release()
|
||||
|
||||
def get_orientation(self):
|
||||
"""
|
||||
Callbacks when orientation changed.
|
||||
"""
|
||||
o = super().get_orientation()
|
||||
|
||||
self.on_orientation_change_maatouch()
|
||||
|
||||
return o
|
||||
|
||||
def stuck_record_add(self, button):
|
||||
self.detect_record.add(str(button))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user