diff --git a/src/ui_parts/tabs_panel.tscn b/src/ui_parts/tabs_panel.tscn index 79be791..923f00d 100644 --- a/src/ui_parts/tabs_panel.tscn +++ b/src/ui_parts/tabs_panel.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=3 format=3 uid="uid://csrfbf30rdcc0"] [ext_resource type="Script" uid="uid://rwf3r3qie2mv" path="res://src/ui_parts/tabs_panel.gd" id="1_a4usf"] -[ext_resource type="Texture2D" uid="uid://eif2ioi0mw17" path="res://assets/icons/Plus.svg" id="2_1shv1"] +[ext_resource type="Texture2D" uid="uid://bnl24bflj771n" path="res://assets/icons/CreateTab.svg" id="2_a4usf"] [node name="TabsPanel" type="PanelContainer"] custom_minimum_size = Vector2(180, 0) @@ -9,7 +9,7 @@ anchors_preset = -1 anchor_bottom = 1.0 offset_right = 96.0 grow_vertical = 2 -theme_type_variation = &"DarkPanel" +theme_type_variation = &"BasePanel" script = ExtResource("1_a4usf") [node name="VBoxContainer" type="VBoxContainer" parent="."] @@ -34,6 +34,6 @@ focus_mode = 0 mouse_default_cursor_shape = 2 theme_type_variation = &"IconButton" text = "New Tab" -icon = ExtResource("2_1shv1") +icon = ExtResource("2_a4usf") [connection signal="pressed" from="VBoxContainer/NewTab" to="." method="_on_new_tab_pressed"] diff --git a/src/ui_parts/update_menu.gd b/src/ui_parts/update_menu.gd index be2b5a5..a7b2005 100644 --- a/src/ui_parts/update_menu.gd +++ b/src/ui_parts/update_menu.gd @@ -29,8 +29,8 @@ func _ready() -> void: func request() -> void: retry_button.hide() status_label.text = Translator.translate("Retrieving information...") - var err := http.request("https://api.github.com/repos/syntaxerror247/VectorTouch-Mobile/releases", - ["User-Agent: syntaxerror247/VectorTouch-Mobile"]) + var err := http.request("https://api.github.com/repos/syntaxerror247/VectorTouch/releases", + ["User-Agent: syntaxerror247/VectorTouch"]) if err != OK: display_error_message(error_string(err)) @@ -84,7 +84,7 @@ _headers: PackedStringArray, body: PackedByteArray) -> void: func display_error_message(msg: String) -> void: status_label.text = Translator.translate("Update check failed") results_panel.show() - results_label.text = "%s\n[url=https://github.com/syntaxerror247/VectorTouch-Mobile/releases]%s[/url]" %\ + results_label.text = "%s\n[url=https://github.com/syntaxerror247/VectorTouch/releases]%s[/url]" %\ [msg, Translator.translate("View all releases")] retry_button.show() diff --git a/src/utils/ThemeUtils.gd b/src/utils/ThemeUtils.gd index 7e394f5..413c0eb 100644 --- a/src/utils/ThemeUtils.gd +++ b/src/utils/ThemeUtils.gd @@ -173,7 +173,7 @@ static func recalculate_colors() -> void: tab_container_panel_inner_color = base_color.lerp(extreme_theme_color, 0.12) tab_container_panel_border_color = max_contrast_color.lerp(base_color, 0.9) - subtle_flat_panel_color = base_color + subtle_flat_panel_color = base_color.lerp(max_contrast_color, 0.05) contrast_flat_panel_color = Color(tinted_contrast_color, 0.1) # Selection