mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-18 03:21:29 +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
|
# Check screen size
|
||||||
width, height = self.image.size
|
width, height = self.image.size
|
||||||
if height > width:
|
|
||||||
width, height = height, width
|
|
||||||
logger.attr('Screen_size', f'{width}x{height}')
|
logger.attr('Screen_size', f'{width}x{height}')
|
||||||
if width == 1280 and height == 720:
|
if width == 1280 and height == 720:
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user