mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 06:18:21 +08:00
Fix: Show warning if screen size is 720x1280
This commit is contained in:
@@ -67,8 +67,6 @@ class Device(Screenshot, Control, AppControl):
|
||||
"""
|
||||
# Check screen size
|
||||
width, height = self.image.size
|
||||
if height > width:
|
||||
width, height = height, width
|
||||
logger.attr('Screen_size', f'{width}x{height}')
|
||||
if width == 1280 and height == 720:
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user