fix : shash enter will auto hide accordingly
This commit is contained in:
parent
7d383587cf
commit
210c2baf4a
@ -213,13 +213,18 @@ export class TouchPadMenuComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
get showShashEnter(): boolean {
|
||||
const label = this.selectedLabel || '';
|
||||
if (['FOR', 'QUI', 'TAN'].includes(label) && this.isBoxed) {
|
||||
return false;
|
||||
}
|
||||
const specialLabels = ['FOR', 'QUI', 'TAN', 'EXA', 'TRE', 'MJP', 'JKP', '.'];
|
||||
return specialLabels.includes(label);
|
||||
const label = this.selectedLabel || '';
|
||||
if (['FOR', 'QUI', 'TAN'].includes(label) && this.isBoxed) {
|
||||
return false;
|
||||
}
|
||||
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);
|
||||
}
|
||||
|
||||
get isShashEnterDisabled(): boolean {
|
||||
if (this.selectedLabel === 'TAN') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user