mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-22 14:21:33 +03:00
Merge Quartz import statements
This commit is contained in:
parent
6864790efb
commit
86c99b9186
@ -3666,8 +3666,7 @@ Columns: {len(palette) // 2}
|
||||
# size = screen.frame().size.width, screen.frame().size.height
|
||||
# return size
|
||||
|
||||
from Quartz import CGDisplayBounds
|
||||
from Quartz import CGMainDisplayID
|
||||
from Quartz import CGDisplayBounds, CGMainDisplayID
|
||||
main_monitor = CGDisplayBounds(CGMainDisplayID())
|
||||
return (int(main_monitor.size.width), int(main_monitor.size.height))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user