Compare commits
	
		
			2 commits
		
	
	
		
			e0677263d6
			...
			2b349d1287
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 2b349d1287 | ||
|  | a615ddc93d | 
					 3 changed files with 8 additions and 1 deletions
				
			
		|  | @ -165,7 +165,7 @@ permissions/set_alarm=false | ||||||
| permissions/set_always_finish=false | permissions/set_always_finish=false | ||||||
| permissions/set_animation_scale=false | permissions/set_animation_scale=false | ||||||
| permissions/set_debug_app=false | permissions/set_debug_app=false | ||||||
| permissions/set_orientation=false | permissions/set_orientation=true | ||||||
| permissions/set_pointer_speed=false | permissions/set_pointer_speed=false | ||||||
| permissions/set_preferred_applications=false | permissions/set_preferred_applications=false | ||||||
| permissions/set_process_limit=false | permissions/set_process_limit=false | ||||||
|  |  | ||||||
|  | @ -2,6 +2,12 @@ extends Control | ||||||
| 
 | 
 | ||||||
| # Called when the node enters the scene tree for the first time. | # Called when the node enters the scene tree for the first time. | ||||||
| func _ready(): | func _ready(): | ||||||
|  | 	const margin_value = 25 | ||||||
|  | 	$MarginContainer.add_theme_constant_override("margin_top", margin_value) | ||||||
|  | 	$MarginContainer.add_theme_constant_override("margin_left", margin_value) | ||||||
|  | 	$MarginContainer.add_theme_constant_override("margin_bottom", margin_value) | ||||||
|  | 	$MarginContainer.add_theme_constant_override("margin_right", margin_value) | ||||||
|  | 	 | ||||||
| 	Global.state_changed.connect(_update_state) | 	Global.state_changed.connect(_update_state) | ||||||
| 	if Global.current_state == Global.State.UNLOADED: | 	if Global.current_state == Global.State.UNLOADED: | ||||||
| 		pass | 		pass | ||||||
|  |  | ||||||
|  | @ -23,6 +23,7 @@ Global="*res://global.gd" | ||||||
| 
 | 
 | ||||||
| window/size/viewport_width=600 | window/size/viewport_width=600 | ||||||
| window/size/viewport_height=900 | window/size/viewport_height=900 | ||||||
|  | window/handheld/orientation=1 | ||||||
| 
 | 
 | ||||||
| [editor_plugins] | [editor_plugins] | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue