diff options
author | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2016-07-25 12:07:02 +0300 |
---|---|---|
committer | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2016-07-25 12:41:17 +0300 |
commit | 7dbdfe8dbd761631850db2e3476b74ae082fbe14 (patch) | |
tree | 807db85e4a5421836fb4f7ad9a28a3dde510b687 /tools/editor | |
parent | 8fbe804bd17f919f53daae70a229c07ca4d8a355 (diff) |
Fix default ranges of the inspector
Probably closes #3091
(Should apply to Variant::REAL and Variant::INT)
Diffstat (limited to 'tools/editor')
-rw-r--r-- | tools/editor/property_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp index 54d197f10d..26a49e92f0 100644 --- a/tools/editor/property_editor.cpp +++ b/tools/editor/property_editor.cpp @@ -3039,10 +3039,10 @@ void PropertyEditor::update_tree() { } else { if (p.type == Variant::REAL) { - item->set_range_config(1, -65536, 65535, 0.001); + item->set_range_config(1, -16777216, 16777216, 0.001); } else { - item->set_range_config(1, -65536, 65535, 1); + item->set_range_config(1, -2147483647, 2147483647, 1); } }; |