Skip to content

Commit

Permalink
fix z index
Browse files Browse the repository at this point in the history
  • Loading branch information
TinyTakinTeller committed Jan 12, 2025
1 parent 639bb10 commit 3800947
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 2 deletions.
Binary file modified assets/i18n/localization.description.translation
Binary file not shown.
Binary file modified assets/i18n/localization.en.translation
Binary file not shown.
Binary file modified assets/i18n/localization.fr.translation
Binary file not shown.
Binary file modified assets/i18n/localization.pt.translation
Binary file not shown.
Binary file modified assets/i18n/localization.zh.translation
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
viewport_path = NodePath("SubViewport")

[node name="LabelEffect" type="Node2D"]
z_index = 1000
z_index = 4096
z_as_relative = false
script = ExtResource("1_1mfsl")

[node name="SubViewport" type="SubViewport" parent="."]
Expand All @@ -28,6 +29,8 @@ grow_vertical = 2

[node name="Label" type="Label" parent="SubViewport/CanvasLayer/MarginContainer"]
unique_name_in_owner = true
z_index = 4096
z_as_relative = false
layout_mode = 2
size_flags_horizontal = 4
theme_type_variation = &"label_shadow"
Expand Down
1 change: 1 addition & 0 deletions scenes/ui/info_container/info_container.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ theme_override_font_sizes/font_size = 13
text = "Venture on a hunt for some rare resources!Venture on a hunt for some rare resources!Venture on a hunt for some rare resources!"
autowrap_mode = 3
_current_font_size = 13
_size_just_modified_by_autosizer = true

[node name="TitleLabel" type="Label" parent="MarginContainer/VBoxContainer"]
unique_name_in_owner = true
Expand Down
2 changes: 1 addition & 1 deletion scenes/ui/screen/world_screen/world_screen.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ theme_override_constants/margin_right = 8

[node name="AllButton" type="Button" parent="AllButtonMarginContainer"]
unique_name_in_owner = true
z_index = -4096
z_as_relative = false
custom_minimum_size = Vector2(80, 74)
layout_mode = 2
size_flags_horizontal = 0
Expand Down

0 comments on commit 3800947

Please sign in to comment.