fix : shash enter will auto hide accordingly
This commit is contained in:
parent
7d383587cf
commit
210c2baf4a
@ -218,6 +218,11 @@ export class TouchPadMenuComponent implements OnInit, OnDestroy {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const specialLabels = ['FOR', 'QUI', 'TAN', 'EXA', 'TRE', 'MJP', 'JKP', '.'];
|
const specialLabels = ['FOR', 'QUI', 'TAN', 'EXA', 'TRE', 'MJP', 'JKP', '.'];
|
||||||
|
if (this.multiLegLabels.includes(label)) {
|
||||||
|
const maxLegs = this.getMaxLegs(this.currentPool || '');
|
||||||
|
// Hide Shash Enter if on the final leg
|
||||||
|
return this.multiLegStage < maxLegs - 1;
|
||||||
|
}
|
||||||
return specialLabels.includes(label);
|
return specialLabels.includes(label);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user