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:
LGUG2Z
2026-05-04 18:46:07 -07:00
parent 55b6ac82eb
commit d99b4b5501
2 changed files with 2 additions and 2 deletions

View File

@@ -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>> =

View File

@@ -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>,
}