mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
Increase AnimationPlayer position SpinBox to fit more decimals
Fixed UI bug where it appeared that pushing the up or down incrementing arrows did not increment the SpinBox value appropriately. Just needed to increase the size of the box horizontally, to display four decimal points consistently.
This commit is contained in:
parent
a2c016e997
commit
09658f7e3b
@ -1573,7 +1573,7 @@ AnimationPlayerEditor::AnimationPlayerEditor(AnimationPlayerEditorPlugin *p_plug
|
||||
|
||||
frame = memnew(SpinBox);
|
||||
hb->add_child(frame);
|
||||
frame->set_custom_minimum_size(Size2(60, 0));
|
||||
frame->set_custom_minimum_size(Size2(80, 0) * EDSCALE);
|
||||
frame->set_stretch_ratio(2);
|
||||
frame->set_step(0.0001);
|
||||
frame->set_tooltip(TTR("Animation position (in seconds)."));
|
||||
|
Loading…
Reference in New Issue
Block a user