mirror of
https://github.com/godotengine/godot.git
synced 2025-01-26 03:40:36 +00:00
removed up, down, left, right keys from the demo.
were used before for fast multiscreen setup testing.
This commit is contained in:
parent
52a4e8495c
commit
f7621810a2
@ -54,18 +54,6 @@ func _fixed_process(delta):
|
||||
get_node("Label_Screen1_Resolution").hide()
|
||||
get_node("Label_Screen1_Position").hide()
|
||||
|
||||
if( Input.is_action_pressed("ui_right")):
|
||||
OS.set_screen(1)
|
||||
|
||||
if( Input.is_action_pressed("ui_left")):
|
||||
OS.set_screen(0)
|
||||
|
||||
if( Input.is_action_pressed("ui_up")):
|
||||
OS.set_fullscreen(true)
|
||||
|
||||
if( Input.is_action_pressed("ui_down")):
|
||||
OS.set_fullscreen(false)
|
||||
|
||||
get_node("Button_Fullscreen").set_pressed( OS.is_fullscreen() )
|
||||
get_node("Button_FixedSize").set_pressed( !OS.is_resizable() )
|
||||
get_node("Button_Minimized").set_pressed( OS.is_minimized() )
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user