Skip to content

Commit 16b12f3

Browse files
committed
Merge pull request godotengine#118096 from uno1982/mobile-haptic-editor-restart
Android: Add missing set_restart_if_changed for haptic_on_long_press
2 parents 49b9676 + 79df646 commit 16b12f3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

editor/settings/editor_settings.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
627627
EDITOR_SETTING(Variant::BOOL, PROPERTY_HINT_NONE, "interface/touchscreen/enable_long_press_as_right_click", is_native_touchscreen, "")
628628
set_restart_if_changed("interface/touchscreen/enable_long_press_as_right_click", true);
629629
EDITOR_SETTING(Variant::BOOL, PROPERTY_HINT_NONE, "interface/touchscreen/haptic_on_long_press", is_native_touchscreen, "")
630+
set_restart_if_changed("interface/touchscreen/haptic_on_long_press", true);
630631

631632
EDITOR_SETTING(Variant::BOOL, PROPERTY_HINT_NONE, "interface/touchscreen/enable_pan_and_scale_gestures", has_touchscreen_ui, "")
632633
set_restart_if_changed("interface/touchscreen/enable_pan_and_scale_gestures", true);

0 commit comments

Comments
 (0)