This commit is contained in:
Matteo Sonaglioni
2026-06-27 17:47:15 +02:00
parent 58f9188794
commit ed5eb706a1
13 changed files with 123 additions and 25 deletions

View File

@@ -40,10 +40,10 @@ offset_right = 0.0
offset_bottom = 0.0
[node name="MarginContainer" parent="Photo/ColorRect" index="0" unique_id=1141643525]
theme_override_constants/margin_left = 56
theme_override_constants/margin_top = 60
theme_override_constants/margin_right = 56
theme_override_constants/margin_bottom = 200
theme_override_constants/margin_left = 20
theme_override_constants/margin_top = 30
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 185
[connection signal="gui_input" from="Panel" to="." method="_on_panel_gui_input"]

View File

@@ -3,10 +3,11 @@
[ext_resource type="Script" uid="uid://dsey5dvc11vpq" path="res://core/game_menu/photo.gd" id="1_u0arp"]
[node name="Photo" type="Button" unique_id=1451980505]
custom_minimum_size = Vector2(132, 154)
custom_minimum_size = Vector2(132, 154.02)
anchors_preset = -1
anchor_right = 0.06875
anchor_bottom = 0.1425926
offset_bottom = 0.020004272
pivot_offset_ratio = Vector2(0.5, 0.5)
script = ExtResource("1_u0arp")
metadata/_edit_use_anchors_ = true
@@ -34,9 +35,9 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 14
theme_override_constants/margin_top = 15
theme_override_constants/margin_right = 14
theme_override_constants/margin_left = 10
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 50
[node name="PhotoTexture" type="TextureRect" parent="ColorRect/MarginContainer" unique_id=506844785]
@@ -45,7 +46,7 @@ layout_mode = 2
size_flags_vertical = 3
mouse_filter = 2
expand_mode = 1
stretch_mode = 5
stretch_mode = 6
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]