mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
parent
20edf69f96
commit
3f23e1d600
@ -1402,7 +1402,7 @@ void AnimationTimelineEdit::_zoom_changed(double) {
|
||||
|
||||
float AnimationTimelineEdit::get_zoom_scale() const {
|
||||
|
||||
float zv = zoom->get_value();
|
||||
float zv = zoom->get_max() - zoom->get_value();
|
||||
if (zv < 1) {
|
||||
zv = 1.0 - zv;
|
||||
return Math::pow(1.0f + zv, 8.0f) * 100;
|
||||
|
Loading…
Reference in New Issue
Block a user