mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 14:13:10 +00:00
Increased step precision
Results in nicer numbers for float properties like 20.0 instead of 20.000001
This commit is contained in:
parent
9dea035ec5
commit
f7d9f070e1
@ -2925,7 +2925,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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user