Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/ui_parts/tabs_panel.tscn
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[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)
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="."]
Expand All @@ -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"]
6 changes: 3 additions & 3 deletions src/ui_parts/update_menu.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion src/utils/ThemeUtils.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down