1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Split pause() from AnimationPlayer's stop()

This commit is contained in:
kobewi
2023-01-11 13:39:39 +01:00
parent 9c02bf1b11
commit da9396881e
4 changed files with 36 additions and 19 deletions

View File

@@ -267,7 +267,7 @@ void AnimationPlayerEditor::_stop_pressed() {
return;
}
player->stop(false);
player->pause();
play->set_pressed(false);
stop->set_pressed(true);
}
@@ -1155,7 +1155,7 @@ void AnimationPlayerEditor::_seek_value_changed(float p_value, bool p_set, bool
player->seek_delta(pos, pos - cpos);
} else {
player->stop(true);
player->stop();
player->seek(pos, true);
}
}