Merge pull request #80975 from Calinou/editor-property-auto-refresh-add-property-hint

Add a property hint range to Auto Refresh Interval editor setting
This commit is contained in:
Rémi Verschelde 2023-09-12 08:49:08 +02:00
commit 006a88c855
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -531,7 +531,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
_initial_set("docks/filesystem/textfile_extensions", "txt,md,cfg,ini,log,json,yml,yaml,toml");
// Property editor
_initial_set("docks/property_editor/auto_refresh_interval", 0.2); //update 5 times per second by default
EDITOR_SETTING(Variant::FLOAT, PROPERTY_HINT_RANGE, "docks/property_editor/auto_refresh_interval", 0.2, "0.01,1,0.001"); // Update 5 times per second by default.
EDITOR_SETTING(Variant::FLOAT, PROPERTY_HINT_RANGE, "docks/property_editor/subresource_hue_tint", 0.75, "0,1,0.01")
/* Text editor */