fix : updated touchpad
This commit is contained in:
parent
5e9655c155
commit
89c9307d0f
@ -1225,6 +1225,15 @@ export class TouchPadMenuComponent implements OnInit, OnDestroy {
|
|||||||
return `${label} ${groupStrs.join('-')}${starPart}`;
|
return `${label} ${groupStrs.join('-')}${starPart}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 🔹 NEW RULE: check for "- -" style duplicate groups
|
||||||
|
if (filteredGroups.length === 2) {
|
||||||
|
const g1 = filteredGroups[0].map(normalizeToken);
|
||||||
|
const g2 = filteredGroups[1].map(normalizeToken);
|
||||||
|
if (g1.join(',') === g2.join(',')) {
|
||||||
|
return `${label} <<${g1.join(',')}>>${starPart}`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const singleTokens = filteredGroups[0] || [];
|
const singleTokens = filteredGroups[0] || [];
|
||||||
if (singleTokens.length >= 2 && singleTokens.length % 2 === 0) {
|
if (singleTokens.length >= 2 && singleTokens.length % 2 === 0) {
|
||||||
const half = singleTokens.length / 2;
|
const half = singleTokens.length / 2;
|
||||||
@ -1477,6 +1486,8 @@ export class TouchPadMenuComponent implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------PRINT ENDS HERE ------------------------------------------------------
|
//----------------------------------PRINT ENDS HERE ------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
erase() {
|
erase() {
|
||||||
this.selectionService.clearSelections();
|
this.selectionService.clearSelections();
|
||||||
this.resetSelections();
|
this.resetSelections();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user