Merge pull request #7 from DanielToyama/main

修复错误
main
illegal prompt 2025-01-31 18:14:46 +08:00 committed by GitHub
commit 7a06b68223
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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