fix: stabilize battle quick navigation
This commit is contained in:
@@ -6444,7 +6444,6 @@ export class BattleScene extends Phaser.Scene {
|
||||
const tone = this.terrainTone(terrain);
|
||||
const text = `${terrainRule.label}: ${this.terrainEffectText(terrain, undefined, 'compact')} · 클릭하면 상세`;
|
||||
this.showPointerFeedback(tile, tone, text, key, terrainRule.color, terrainRule.passable === false ? 0.16 : 0.1, 0.68);
|
||||
this.renderTerrainDetail(tile.x, tile.y);
|
||||
}
|
||||
|
||||
private updateMovePointerFeedback(unit: UnitData, tile: { x: number; y: number }, force: boolean) {
|
||||
@@ -21938,9 +21937,12 @@ export class BattleScene extends Phaser.Scene {
|
||||
}
|
||||
|
||||
private canActivateSideQuickTabs() {
|
||||
const navigationPhase =
|
||||
this.phase === 'idle' ||
|
||||
(this.phase === 'moving' && Boolean(this.selectedUnit) && !this.pendingMove);
|
||||
return Boolean(
|
||||
this.shouldRenderSideQuickTabs() &&
|
||||
this.phase === 'idle' &&
|
||||
navigationPhase &&
|
||||
this.activeFaction === 'ally' &&
|
||||
this.saveSlotPanelObjects.length === 0 &&
|
||||
this.turnPromptObjects.length === 0 &&
|
||||
|
||||
Reference in New Issue
Block a user