feat(contact): animate outro
This commit is contained in:
@@ -13,7 +13,9 @@ useRender((ctx) => {
|
||||
if (!topBarImage.value || !bottomBarImage.value || !bottomBarOkImage.value)
|
||||
return;
|
||||
|
||||
ctx.globalAlpha = store.isIntro ? store.intro.stage3Opacity : 1;
|
||||
ctx.globalAlpha = store.isIntro
|
||||
? store.intro.stage3Opacity
|
||||
: store.outro.stage2Opacity;
|
||||
|
||||
// top bar
|
||||
ctx.drawImage(topBarImage.value, 0, store.isIntro ? store.intro.topBarY : 0);
|
||||
|
||||
Reference in New Issue
Block a user