fix: don't use easingCurve type
Fixes #1401 Nix does not have Qt 6.11 yet
This commit is contained in:
parent
a6a51a0b88
commit
2bb28197a0
1 changed files with 1 additions and 1 deletions
|
|
@ -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`;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue