mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-02 09:18:12 +08:00
Desktop: Disable UI acceleration by default on Linux (#4201)
This commit is contained in:
@@ -65,7 +65,7 @@ impl Default for PreferencesMessageHandler {
|
|||||||
viewport_zoom_wheel_rate: VIEWPORT_ZOOM_WHEEL_RATE,
|
viewport_zoom_wheel_rate: VIEWPORT_ZOOM_WHEEL_RATE,
|
||||||
ui_scale: UI_SCALE_DEFAULT,
|
ui_scale: UI_SCALE_DEFAULT,
|
||||||
max_render_region_size: EditorPreferences::default().max_render_region_size,
|
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")]
|
#[cfg(target_os = "macos")]
|
||||||
vsync: false,
|
vsync: false,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user