Skip to content

Commit

Permalink
Merge pull request #80975 from Calinou/editor-property-auto-refresh-a…
Browse files Browse the repository at this point in the history
…dd-property-hint

Add a property hint range to Auto Refresh Interval editor setting
  • Loading branch information
akien-mga committed Sep 12, 2023
2 parents d507708 + 9359e0b commit 006a88c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/editor_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 006a88c

Please sign in to comment.