You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Use double when setting the default step size
Casting it as a float was causing issues with the progress bar
(cherry picked from commit d0f3817876)
This commit is contained in:
committed by
Rémi Verschelde
parent
f90b24a805
commit
724a18cf72
@@ -3056,7 +3056,7 @@ void EditorInspectorDefaultPlugin::parse_begin(Object *p_object) {
|
||||
|
||||
bool EditorInspectorDefaultPlugin::parse_property(Object *p_object, Variant::Type p_type, const String &p_path, PropertyHint p_hint, const String &p_hint_text, int p_usage) {
|
||||
|
||||
float default_float_step = EDITOR_GET("interface/inspector/default_float_step");
|
||||
double default_float_step = EDITOR_GET("interface/inspector/default_float_step");
|
||||
|
||||
switch (p_type) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user