add current monitor setting
This commit is contained in:
parent
f4ceffab52
commit
841e05149a
@ -19,6 +19,11 @@ const CONFIG_PATH := "user://settings.cfg"
|
||||
)
|
||||
fullscreen = value
|
||||
|
||||
@export var current_monitor: int = DisplayServer.get_primary_screen():
|
||||
set(value):
|
||||
DisplayServer.window_set_current_screen(value)
|
||||
current_monitor = value
|
||||
|
||||
@export var vsync: DisplayServer.VSyncMode = DisplayServer.VSYNC_ADAPTIVE:
|
||||
set(value):
|
||||
DisplayServer.window_set_vsync_mode(value)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user