Skip to content

Commit 9ceecc3

Browse files
committed
修改判定线透明度为 -2 时的 note 显示逻辑
1 parent 63da72f commit 9ceecc3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/chart/note.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,11 @@ export default class Note
240240
if (this.judgeline.alpha < 0)
241241
{
242242
if (this.judgeline.alpha >= -1) this.sprite.visible = false;
243-
else if (this.judgeline.alpha >= -2 && this.originY < 0) this.sprite.visible = false;
243+
else if (this.judgeline.alpha >= -2)
244+
{
245+
if (this.originY > 0) this.sprite.visible = false;
246+
else if (this.originY < 0) this.sprite.visible = true;
247+
}
244248
}
245249

246250
if (this.debugSprite)

src/judgement/score.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default class Score
7777
fill: 0xFFFFFF
7878
});
7979
this.sprites.combo.number.alpha = 0.81;
80-
this.sprites.combo.text = new Text('COMBO', {
80+
this.sprites.combo.text = new Text((this._autoPlay ? 'AUT' + 'OPL' + 'AY' : 'COMBO'), {
8181
fontFamily: 'MiSans',
8282
fill: 0xFFFFFF
8383
});

0 commit comments

Comments
 (0)