fix multi pool changes '-' to '/'
This commit is contained in:
parent
61e438f4a6
commit
2dbee40fd2
@ -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 = [];
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user