mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Make AnimationTree delta argument force double in core
This commit is contained in:
parent
a4f999b7dc
commit
0650846248
5 changed files with 34 additions and 34 deletions
|
|
@ -854,10 +854,10 @@ void AnimationNodeStateMachineEditor::_state_machine_pos_draw() {
|
|||
}
|
||||
to.y = from.y;
|
||||
|
||||
double len = MAX(0.0001, current_length);
|
||||
float len = MAX(0.0001, current_length);
|
||||
|
||||
double pos = CLAMP(play_pos, 0, len);
|
||||
double c = pos / len;
|
||||
float pos = CLAMP(play_pos, 0, len);
|
||||
float c = pos / len;
|
||||
Color fg = get_theme_color(SNAME("font_color"), SNAME("Label"));
|
||||
Color bg = fg;
|
||||
bg.a *= 0.3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue