fix: don't use easingCurve type

Fixes #1401
Nix does not have Qt 6.11 yet
This commit is contained in:
2 * r + 2 * t 2026-04-19 16:09:15 +10:00
parent a6a51a0b88
commit 2bb28197a0

View file

@ -36,7 +36,7 @@ Item {
// Anim configs are not per-monitor
readonly property QtObject dummy: QtObject {}
property int animLength: dummy.Tokens.anim.durations.expressiveDefaultSpatial
property easingCurve animCurve: dummy.Tokens.anim.expressiveDefaultSpatial
property var animCurve: dummy.Tokens.anim.expressiveDefaultSpatial // The easingCurve type is Qt 6.11+ so we gotta use var for now
function setAnims(detach: bool): void {
const type = `expressive${detach ? "Slow" : "Default"}Spatial`;