mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: side panel animation (#3605)
* fix: side panel animation * Fix: Side Panel Animation Changes * Fix:Panel Animation * fix:updated animation to easeOutQuad * fix: updated animation to easeOutQuad * Fix:Panel Side Animation * fix:panel side animation * chore: restore settings.json --------- Co-authored-by: Richard Shiue <71320345+richardshiue@users.noreply.github.com>
This commit is contained in:
parent
966547faa0
commit
f60462a853
@ -255,7 +255,7 @@ class DesktopHomeScreen extends StatelessWidget {
|
|||||||
top: 0,
|
top: 0,
|
||||||
animate: true,
|
animate: true,
|
||||||
)
|
)
|
||||||
.animate(layout.animDuration, Curves.easeOut),
|
.animate(layout.animDuration, Curves.easeOutQuad),
|
||||||
bubble
|
bubble
|
||||||
.positioned(
|
.positioned(
|
||||||
right: 20,
|
right: 20,
|
||||||
@ -268,6 +268,7 @@ class DesktopHomeScreen extends StatelessWidget {
|
|||||||
duration: layout.animDuration.inMilliseconds * 0.001,
|
duration: layout.animDuration.inMilliseconds * 0.001,
|
||||||
closeX: layout.editPanelWidth,
|
closeX: layout.editPanelWidth,
|
||||||
isClosed: !layout.showEditPanel,
|
isClosed: !layout.showEditPanel,
|
||||||
|
curve: Curves.easeOutQuad,
|
||||||
)
|
)
|
||||||
.positioned(
|
.positioned(
|
||||||
right: 0,
|
right: 0,
|
||||||
@ -279,18 +280,18 @@ class DesktopHomeScreen extends StatelessWidget {
|
|||||||
.animatedPanelX(
|
.animatedPanelX(
|
||||||
closeX: -layout.menuWidth,
|
closeX: -layout.menuWidth,
|
||||||
isClosed: !layout.showMenu,
|
isClosed: !layout.showMenu,
|
||||||
|
curve: Curves.easeOutQuad,
|
||||||
|
duration: layout.animDuration.inMilliseconds * 0.001,
|
||||||
)
|
)
|
||||||
.positioned(
|
.positioned(
|
||||||
left: 0,
|
left: 0,
|
||||||
top: 0,
|
top: 0,
|
||||||
width: layout.menuWidth,
|
width: layout.menuWidth,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
animate: true,
|
),
|
||||||
)
|
|
||||||
.animate(layout.animDuration, Curves.easeOut),
|
|
||||||
homeMenuResizer
|
homeMenuResizer
|
||||||
.positioned(left: layout.menuWidth - 5)
|
.positioned(left: layout.menuWidth - 5)
|
||||||
.animate(layout.animDuration, Curves.easeOut),
|
.animate(layout.animDuration, Curves.easeOutQuad),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user