commit
7a06b68223
4
main.py
4
main.py
|
@ -251,9 +251,9 @@ def get_real_resolution():
|
||||||
def get_screen_size():
|
def get_screen_size():
|
||||||
w = GetSystemMetrics(0)
|
w = GetSystemMetrics(0)
|
||||||
h = GetSystemMetrics(1)
|
h = GetSystemMetrics(1)
|
||||||
if(SCREEN_HEIGHT != 0):
|
|
||||||
w = SCREEN_WIDTH
|
|
||||||
if(SCREEN_WIDTH != 0):
|
if(SCREEN_WIDTH != 0):
|
||||||
|
w = SCREEN_WIDTH
|
||||||
|
if(SCREEN_HEIGHT != 0):
|
||||||
h = SCREEN_HEIGHT
|
h = SCREEN_HEIGHT
|
||||||
|
|
||||||
return w, h
|
return w, h
|
||||||
|
|
Loading…
Reference in New Issue