refresh page CTRL R
This commit is contained in:
@@ -213,7 +213,6 @@ size_flags_horizontal = 3
|
|||||||
theme_override_constants/separation = 0
|
theme_override_constants/separation = 0
|
||||||
|
|
||||||
[node name="ShortcutsPanel" type="VBoxContainer" parent="HSplitContainer/Content/ScrollContainer/ContentStack"]
|
[node name="ShortcutsPanel" type="VBoxContainer" parent="HSplitContainer/Content/ScrollContainer/ContentStack"]
|
||||||
visible = false
|
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_constants/separation = 20
|
theme_override_constants/separation = 20
|
||||||
|
|
||||||
@@ -304,6 +303,18 @@ theme = ExtResource("2_theme")
|
|||||||
theme_override_colors/font_color = Color(0.7, 0.7, 0.7, 1)
|
theme_override_colors/font_color = Color(0.7, 0.7, 0.7, 1)
|
||||||
text = "Focus address bar"
|
text = "Focus address bar"
|
||||||
|
|
||||||
|
[node name="Label6" type="Label" parent="HSplitContainer/Content/ScrollContainer/ContentStack/ShortcutsPanel/NavigationSection/VBoxContainer/GridContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
theme = ExtResource("2_theme")
|
||||||
|
theme_override_colors/font_color = Color(0.8, 0.8, 0.8, 1)
|
||||||
|
text = "Ctrl+R"
|
||||||
|
|
||||||
|
[node name="Description6" type="Label" parent="HSplitContainer/Content/ScrollContainer/ContentStack/ShortcutsPanel/NavigationSection/VBoxContainer/GridContainer"]
|
||||||
|
layout_mode = 2
|
||||||
|
theme = ExtResource("2_theme")
|
||||||
|
theme_override_colors/font_color = Color(0.7, 0.7, 0.7, 1)
|
||||||
|
text = "Refresh tab"
|
||||||
|
|
||||||
[node name="WindowSection" type="PanelContainer" parent="HSplitContainer/Content/ScrollContainer/ContentStack/ShortcutsPanel"]
|
[node name="WindowSection" type="PanelContainer" parent="HSplitContainer/Content/ScrollContainer/ContentStack/ShortcutsPanel"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_styles/panel = SubResource("StyleBoxFlat_section")
|
theme_override_styles/panel = SubResource("StyleBoxFlat_section")
|
||||||
@@ -461,6 +472,7 @@ text = "GURT is a content delivery protocol similar to HTTPS. It's the core of h
|
|||||||
autowrap_mode = 3
|
autowrap_mode = 3
|
||||||
|
|
||||||
[node name="ScriptingPanel" type="VBoxContainer" parent="HSplitContainer/Content/ScrollContainer/ContentStack"]
|
[node name="ScriptingPanel" type="VBoxContainer" parent="HSplitContainer/Content/ScrollContainer/ContentStack"]
|
||||||
|
visible = false
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme_override_constants/separation = 20
|
theme_override_constants/separation = 20
|
||||||
|
|
||||||
|
|||||||
@@ -249,6 +249,8 @@ func _input(_event: InputEvent) -> void:
|
|||||||
if Input.is_action_just_pressed("FocusSearch"):
|
if Input.is_action_just_pressed("FocusSearch"):
|
||||||
main.search_bar.grab_focus()
|
main.search_bar.grab_focus()
|
||||||
main.search_bar.select_all()
|
main.search_bar.select_all()
|
||||||
|
if Input.is_action_just_pressed("ReloadPage"):
|
||||||
|
main.reload_current_page()
|
||||||
|
|
||||||
func _on_new_tab_button_pressed() -> void:
|
func _on_new_tab_button_pressed() -> void:
|
||||||
create_tab()
|
create_tab()
|
||||||
|
|||||||
@@ -80,3 +80,8 @@ DevTools={
|
|||||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":true,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":73,"key_label":0,"unicode":0,"location":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":true,"ctrl_pressed":true,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":73,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
ReloadPage={
|
||||||
|
"deadzone": 0.2,
|
||||||
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":true,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":82,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user