修复错误

pull/7/head
DanielToyama 2025-01-31 18:05:15 +08:00
parent 8c2ea8acf7
commit 743d50f7d0
1 changed files with 2 additions and 2 deletions

View File

@ -251,9 +251,9 @@ def get_real_resolution():
def get_screen_size():
w = GetSystemMetrics(0)
h = GetSystemMetrics(1)
if(SCREEN_HEIGHT != 0):
w = SCREEN_WIDTH
if(SCREEN_WIDTH != 0):
w = SCREEN_WIDTH
if(SCREEN_HEIGHT != 0):
h = SCREEN_HEIGHT
return w, h