掉落下的组合块 frame和数据不符的bug
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m12s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m12s
This commit is contained in:
parent
128b4e89a0
commit
4e8f5bd9a9
@ -786,7 +786,7 @@ export class Roller extends BaseRoller {
|
|||||||
let iconFramType = 0
|
let iconFramType = 0
|
||||||
if (CroSymbols) {
|
if (CroSymbols) {
|
||||||
for (let key in CroSymbols) {
|
for (let key in CroSymbols) {
|
||||||
if (CroSymbols[key].PosFirst / 5 == this._rollerId) {
|
if (Math.floor(CroSymbols[key].PosFirst / 5) == this._rollerId) {
|
||||||
if (CroSymbols[key].PosFirst % 5 == i) {
|
if (CroSymbols[key].PosFirst % 5 == i) {
|
||||||
iconFramType = CroSymbols[key].Type
|
iconFramType = CroSymbols[key].Type
|
||||||
}
|
}
|
||||||
@ -794,6 +794,7 @@ export class Roller extends BaseRoller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
icon.getComponent(Icon).initIcon(iconIndex, iconHeight, iconKey, iconFramType, this._rollerId);
|
icon.getComponent(Icon).initIcon(iconIndex, iconHeight, iconKey, iconFramType, this._rollerId);
|
||||||
|
|
||||||
let y = topY.y + (((fallDownNum - nowDownNum) - 0.5 * (iconHeight - iconHeight > 1 ? 1 : 0)) * this.iconHeight);
|
let y = topY.y + (((fallDownNum - nowDownNum) - 0.5 * (iconHeight - iconHeight > 1 ? 1 : 0)) * this.iconHeight);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user