Desktop: Disable UI acceleration by default on Linux (#4201)

This commit is contained in:
Timon
2026-06-05 22:16:37 +00:00
committed by GitHub
parent 6fe1af3afe
commit 9d2071ce6a

View File

@@ -65,7 +65,7 @@ impl Default for PreferencesMessageHandler {
viewport_zoom_wheel_rate: VIEWPORT_ZOOM_WHEEL_RATE,
ui_scale: UI_SCALE_DEFAULT,
max_render_region_size: EditorPreferences::default().max_render_region_size,
disable_ui_acceleration: false,
disable_ui_acceleration: cfg!(target_os = "linux"), // TODO: Set this back to false once we have ui acceleration working more reliably on linux
#[cfg(target_os = "macos")]
vsync: false,
}