feat(settings): intro and outro animation
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
const { onRender } = useScreen();
|
||||
|
||||
const app = useAppStore();
|
||||
const store = useSettingsStore();
|
||||
const { assets } = useAssets();
|
||||
|
||||
const CENTER_X = 63;
|
||||
@@ -53,7 +54,7 @@ function drawLine(
|
||||
}
|
||||
|
||||
onRender((ctx) => {
|
||||
ctx.translate(0, -16);
|
||||
ctx.translate(0, -16 + store.notificationYOffset / 3);
|
||||
|
||||
assets.images.home.topScreen.clock.draw(ctx, 13, 45);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user