fix : box disabiling according to number selection (tan,qui & for)

This commit is contained in:
karthik 2025-08-14 13:22:03 +05:30
parent 200360cb68
commit 7d383587cf

View File

@ -251,6 +251,10 @@ export class TouchPadMenuComponent implements OnInit, OnDestroy {
if (this.selectedNumbers.includes('F')) { if (this.selectedNumbers.includes('F')) {
return true; return true;
} }
// Disable Box toggle for TAN, QUI, FOR after any number is selected
if (['TAN', 'QUI', 'FOR'].includes(this.selectedLabel) && this.selectedNumbers.length > 0) {
return true;
}
return false; return false;
} }