1
0
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:
LmeSzinc
2020-11-28 16:27:26 +08:00
parent 949999150b
commit 632fd4df30

View File

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