mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-24 02:17:27 -04:00
small fixes
This commit is contained in:
parent
f3a9d01f68
commit
017717d280
4 changed files with 5 additions and 1 deletions
|
@ -49,7 +49,7 @@ show_ui={
|
||||||
}
|
}
|
||||||
open_debug={
|
open_debug={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194332,"key_label":0,"unicode":0,"echo":false,"script":null)
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194343,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,7 @@ grow_horizontal = 2
|
||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
auto_translate = false
|
auto_translate = false
|
||||||
localize_numeral_system = false
|
localize_numeral_system = false
|
||||||
|
focus_mode = 1
|
||||||
theme_override_colors/font_color = Color(1, 1, 1, 0.8)
|
theme_override_colors/font_color = Color(1, 1, 1, 0.8)
|
||||||
theme_override_colors/font_placeholder_color = Color(1, 1, 1, 0.498039)
|
theme_override_colors/font_placeholder_color = Color(1, 1, 1, 0.498039)
|
||||||
theme_override_font_sizes/font_size = 20
|
theme_override_font_sizes/font_size = 20
|
||||||
|
|
|
@ -326,6 +326,7 @@ anchor_right = 1.0
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
|
focus_mode = 0
|
||||||
|
|
||||||
[node name="InputSync" type="Node" parent="HBoxContainer/WorldCanvas"]
|
[node name="InputSync" type="Node" parent="HBoxContainer/WorldCanvas"]
|
||||||
script = ExtResource("8_1blsi")
|
script = ExtResource("8_1blsi")
|
||||||
|
|
|
@ -36,6 +36,8 @@ func _on_go_pressed() -> void:
|
||||||
|
|
||||||
|
|
||||||
func open_gate() -> void:
|
func open_gate() -> void:
|
||||||
|
if url.is_empty(): return
|
||||||
|
|
||||||
if Url.is_valid(url):
|
if Url.is_valid(url):
|
||||||
gate_events.open_gate_emit(url)
|
gate_events.open_gate_emit(url)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue