mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-01 15:44:30 +08:00
fix: 难度选项的颜色类型标注错误
This commit is contained in:
1 parent
4d016c4610
commit
fb8236d127
2 files changed
+2
-2
No files matched your search
@@ -125,7 +125,7 @@ export const GameTitle = defineComponent<GameTitleProps>(props => {
|
||||
const hard = main.levelChoose.map<ButtonOption>(v => {
|
||||
return {
|
||||
code: v.hard,
|
||||
color: core.arrayToRGBA(v.color),
|
||||
color: core.arrayToRGBA(v.color ?? [1, 1, 1]),
|
||||
name: v.title,
|
||||
hard: v.name,
|
||||
colorTrans: transitionedColor('#fff', 400, hyper('sin', 'out'))!,
|
||||
|
||||
Reference in new issue
Block a user