mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-11-11 11:52:57 +08:00
Compare commits
2 Commits
29e5c71d91
...
1cfcad07a0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1cfcad07a0 | ||
| fb8236d127 |
@ -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'))!,
|
||||
|
||||
2
src/types/declaration/eventDec.d.ts
vendored
2
src/types/declaration/eventDec.d.ts
vendored
@ -225,7 +225,7 @@ interface LevelChooseEvent {
|
||||
/**
|
||||
* 难度的颜色
|
||||
*/
|
||||
color: RGBArray;
|
||||
color?: RGBArray;
|
||||
|
||||
/**
|
||||
* 选择该难度时执行的事件
|
||||
|
||||
Loading…
Reference in New Issue
Block a user