mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-05-05 10:23:25 +02:00
feat(animations): set the ghost_movement default to false
There are a bunch of edge cases coming up with this behaviour. Setting the default to false for now so people on the nightly can opt in as they feel comfortable.
This commit is contained in:
@@ -60,7 +60,7 @@ pub const DEFAULT_ANIMATION_ENABLED: bool = false;
|
||||
pub const DEFAULT_ANIMATION_STYLE: AnimationStyle = AnimationStyle::Linear;
|
||||
pub const DEFAULT_ANIMATION_DURATION: u64 = 250;
|
||||
pub const DEFAULT_ANIMATION_FPS: u64 = 60;
|
||||
pub const DEFAULT_GHOST_MOVEMENT: bool = true;
|
||||
pub const DEFAULT_GHOST_MOVEMENT: bool = false;
|
||||
|
||||
lazy_static! {
|
||||
pub static ref ANIMATION_MANAGER: Arc<Mutex<AnimationManager>> =
|
||||
|
||||
@@ -705,7 +705,7 @@ pub struct AnimationsConfig {
|
||||
/// Render movement animations on a GPU-composited ghost surface (recommended).
|
||||
/// When false, falls back to the legacy per-frame MoveWindow path.
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
#[cfg_attr(feature = "schemars", schemars(extend("default" = true)))]
|
||||
#[cfg_attr(feature = "schemars", schemars(extend("default" = false)))]
|
||||
pub ghost_movement: Option<bool>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user