diff --git a/Robo-Bus-A31-HMI/common/base/base_control.gd b/Robo-Bus-A31-HMI/common/base/base_control.gd index eb0e414..a7343ca 100644 --- a/Robo-Bus-A31-HMI/common/base/base_control.gd +++ b/Robo-Bus-A31-HMI/common/base/base_control.gd @@ -131,6 +131,10 @@ func onScale(): tween.tween_property(self, "scale", Vector2(1 - (0.05*size_max),1 - (0.05*size_max)), 0.15) tween.tween_property(self, "scale", Vector2(1,1), 0.1) + + + + func onRotation(): var tween = create_tween() tween.tween_property(self, "rotation_degrees", 50*size_max, 0.1)