feat: initialize main scene, settings menu, and touch control manager
This commit is contained in:
@@ -494,13 +494,13 @@ func _apply_settings():
|
||||
|
||||
if grab_button:
|
||||
grab_button.visible = true
|
||||
grab_button.vertical_icon_alignment = VERTICAL_ALIGNMENT_TOP
|
||||
grab_button.scale = Vector2(button_scale, button_scale)
|
||||
grab_button.set_anchors_preset(Control.PRESET_BOTTOM_RIGHT)
|
||||
grab_button.offset_left = button_positions.grab.x
|
||||
grab_button.offset_top = button_positions.grab.y
|
||||
grab_button.offset_right = button_positions.grab.x + button_size
|
||||
grab_button.offset_bottom = button_positions.grab.y + button_size
|
||||
#grab_button.vertical_icon_alignment = VERTICAL_ALIGNMENT_TOP
|
||||
#grab_button.scale = Vector2(button_scale, button_scale)
|
||||
#grab_button.set_anchors_preset(Control.PRESET_BOTTOM_RIGHT)
|
||||
#grab_button.offset_left = button_positions.grab.x
|
||||
#grab_button.offset_top = button_positions.grab.y
|
||||
#grab_button.offset_right = button_positions.grab.x + button_size
|
||||
#grab_button.offset_bottom = button_positions.grab.y + button_size
|
||||
|
||||
if put_button:
|
||||
put_button.visible = false
|
||||
|
||||
Reference in New Issue
Block a user