mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 21:04:47 +00:00
janitor: Fix typo
This commit is contained in:
parent
af3db79472
commit
ebb6dd4449
3 changed files with 8 additions and 8 deletions
|
@ -37,15 +37,15 @@ export InkPage := Page {
|
|||
y: -parent.y;
|
||||
}
|
||||
states [
|
||||
innactive when !root.page-visible : {
|
||||
inactive when !root.page-visible : {
|
||||
height: 0;
|
||||
}
|
||||
]
|
||||
transitions [
|
||||
out innactive : {
|
||||
out inactive : {
|
||||
animate height { duration: 750ms; easing: ease-in-out; }
|
||||
}
|
||||
in innactive : {
|
||||
in inactive : {
|
||||
animate height { duration: 200ms; easing: ease-in; }
|
||||
}
|
||||
]
|
||||
|
|
|
@ -37,19 +37,19 @@ export InkPage := Page {
|
|||
y: -parent.y;
|
||||
}
|
||||
states [
|
||||
innactive when !root.page-visible : {
|
||||
inactive when !root.page-visible : {
|
||||
height: 0;
|
||||
}
|
||||
]
|
||||
transitions [
|
||||
out innactive : {
|
||||
out inactive : {
|
||||
animate height {
|
||||
duration: 750ms;
|
||||
delay: 100ms;
|
||||
easing: ease-in-out;
|
||||
}
|
||||
}
|
||||
in innactive : {
|
||||
in inactive : {
|
||||
animate height { duration: 200ms; easing: ease-in; }
|
||||
}
|
||||
]
|
||||
|
|
|
@ -200,12 +200,12 @@ MainWindow := Window {
|
|||
y: parent.height - self.height;
|
||||
background: color-info.color;
|
||||
states [
|
||||
innactive when root.active-page != 0 : {
|
||||
inactive when root.active-page != 0 : {
|
||||
height: 0phx;
|
||||
}
|
||||
]
|
||||
transitions [
|
||||
out innactive : {
|
||||
out inactive : {
|
||||
animate height { duration: 750ms; easing: ease-in-out; }
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue