mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-14 02:04:30 +08:00
chore: 调整 hard 值即开场动画效果
This commit is contained in:
1 parent
9139552e17
commit
f76034492b
2 files changed
+5
-4
No files matched your search
@@ -138,7 +138,7 @@ export const GameTitle = defineComponent<GameTitleProps>(props => {
|
||||
/** 开始界面按钮的不透明度,选择难度界面的不透明度使用 `1-buttonsAlpha` 计算 */
|
||||
const buttonsAlpha = transitioned(1, 300, linear())!;
|
||||
/** 开始界面的不透明度 */
|
||||
const mainAlpha = transitioned(1, 600, linear())!;
|
||||
const mainAlpha = transitioned(0, 600, linear())!;
|
||||
|
||||
const buttonFilter = `
|
||||
drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.4))
|
||||
@@ -331,6 +331,7 @@ export const GameTitle = defineComponent<GameTitleProps>(props => {
|
||||
|
||||
onMounted(() => {
|
||||
enterMain(0);
|
||||
mainAlpha.set(1);
|
||||
});
|
||||
|
||||
return () => (
|
||||
|
||||
Reference in new issue
Block a user