1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Enable restart_if_changed for the touchscreen editor settings

The alternative was to regenerate the theme which caused the Android Editor to freeze while the regeneration was ongoing.
This commit is contained in:
Fredia Huya-Kouadio
2024-07-17 02:30:30 -07:00
parent 97b8ad1af0
commit 8f7dc86223
3 changed files with 2 additions and 8 deletions

View File

@@ -118,12 +118,6 @@ void CurveEdit::_notification(int p_what) {
queue_redraw();
}
} break;
case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: {
if (!EditorSettings::get_singleton()->check_changed_settings_in_group("interface/touchscreen")) {
break;
}
[[fallthrough]];
}
case NOTIFICATION_THEME_CHANGED: {
float gizmo_scale = EDITOR_GET("interface/touchscreen/scale_gizmo_handles");
point_radius = Math::round(BASE_POINT_RADIUS * get_theme_default_base_scale() * gizmo_scale);