fix multi pool changes '-' to '/'

This commit is contained in:
karthik 2025-07-27 00:24:45 +05:30
parent 61e438f4a6
commit 2dbee40fd2
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ export class SelectionService {
let separatorCount = 0; let separatorCount = 0;
for (const item of numbers) { for (const item of numbers) {
if (item === '-') { if (item === '/') {
if (currentLeg.length > 0) { if (currentLeg.length > 0) {
result.push([...currentLeg]); result.push([...currentLeg]);
currentLeg = []; currentLeg = [];

View File

@ -181,7 +181,7 @@ export class TouchPadMenuComponent implements OnInit {
private updateMultiLegSelection() { private updateMultiLegSelection() {
const combined: (number | string)[] = []; const combined: (number | string)[] = [];
for (let i = 0; i <= this.multiLegStage; i++) { for (let i = 0; i <= this.multiLegStage; i++) {
if (i > 0) combined.push('-'); if (i > 0) combined.push('/');
combined.push(...this.multiLegGroups[i]); combined.push(...this.multiLegGroups[i]);
} }
this.selectedNumbers = combined; this.selectedNumbers = combined;