bug fix
This commit is contained in:
@@ -15,6 +15,7 @@ func _on_pressed() -> void:
|
||||
TweenFX.stop_all(self)
|
||||
scale = Vector2.ONE
|
||||
rotation = 0.0
|
||||
modulate.a = 1.0
|
||||
TweenFX.punch_in(self)
|
||||
GameState.on_photo_highlighted.emit(texture_rect.texture)
|
||||
|
||||
@@ -24,6 +25,7 @@ func _on_mouse_entered() -> void:
|
||||
TweenFX.stop_all(self)
|
||||
scale = Vector2.ONE
|
||||
rotation = 0.0
|
||||
modulate.a = 1.0
|
||||
TweenFX.breathe(self, 1)
|
||||
|
||||
|
||||
@@ -31,3 +33,4 @@ func _on_mouse_exited() -> void:
|
||||
TweenFX.stop_all(self)
|
||||
scale = Vector2.ONE
|
||||
rotation = 0.0
|
||||
modulate.a = 1.0
|
||||
|
||||
Reference in New Issue
Block a user