فهرست منبع

removed up, down, left, right keys from the demo.

were used before for fast multiscreen setup testing.
hurikhan 10 سال پیش
والد
کامیت
8dd66bec47
2فایلهای تغییر یافته به همراه0 افزوده شده و 12 حذف شده
  1. 0 12
      misc/window_management/control.gd
  2. BIN
      misc/window_management/window_management.scn

+ 0 - 12
misc/window_management/control.gd

@@ -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() )

BIN
misc/window_management/window_management.scn