setting minimum size for card to reduce transform weirdnes
This commit is contained in:
parent
59d29339e6
commit
74c5a09015
|
|
@ -142,12 +142,13 @@ func _process(_delta):
|
|||
"
|
||||
|
||||
[node name="card" type="Control"]
|
||||
custom_minimum_size = Vector2(310, 210)
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_left = -150.0
|
||||
offset_top = -110.0
|
||||
offset_right = 150.0
|
||||
offset_bottom = 110.0
|
||||
offset_right = 160.0
|
||||
offset_bottom = 100.0
|
||||
focus_mode = 2
|
||||
script = ExtResource("1_emip0")
|
||||
|
||||
|
|
@ -156,7 +157,8 @@ clip_children = 2
|
|||
position = Vector2(150, 110)
|
||||
scale = Vector2(0.6, 0.6)
|
||||
sprite_frames = SubResource("SpriteFrames_ckivt")
|
||||
frame = 3
|
||||
frame = 2
|
||||
frame_progress = 0.638341
|
||||
script = SubResource("GDScript_8bs16")
|
||||
|
||||
[node name="GPUParticles2D" type="GPUParticles2D" parent="BackgroundSprite"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue