Merge pull request #27902 from Calinou/decrease-tooltip-delay
Decrease the default tooltip delay to 0.5 seconds
This commit is contained in:
commit
0e7f116b52
1 changed files with 1 additions and 1 deletions
|
@ -3222,7 +3222,7 @@ Viewport::Viewport() {
|
|||
gui.tooltip_timer = -1;
|
||||
|
||||
//gui.tooltip_timer->force_parent_owned();
|
||||
gui.tooltip_delay = GLOBAL_DEF("gui/timers/tooltip_delay_sec", 0.7);
|
||||
gui.tooltip_delay = GLOBAL_DEF("gui/timers/tooltip_delay_sec", 0.5);
|
||||
ProjectSettings::get_singleton()->set_custom_property_info("gui/timers/tooltip_delay_sec", PropertyInfo(Variant::REAL, "gui/timers/tooltip_delay_sec", PROPERTY_HINT_RANGE, "0,5,0.01,or_greater")); // No negative numbers
|
||||
|
||||
gui.tooltip = NULL;
|
||||
|
|
Loading…
Reference in a new issue