Преглед на файлове

Use correct group place for combineGroups

Use appropriate place instead of smallest group when creating placeholder groups between actual groups.
master
TheoryOfNekomata преди 10 месеца
родител
ревизия
a0a3251ca1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      packages/core/src/systems/en-US.ts

+ 1
- 1
packages/core/src/systems/en-US.ts Целия файл

@@ -778,7 +778,7 @@ export const combineGroups = (groups: Group[]) => {
const firstGroupPlace = firstGroup[GROUP_PLACE_INDEX];
const groupsSorted = [];
for (let i = maxPlace; i >= minPlace; i -= 1) {
const thisGroup = groups.find((g) => g[GROUP_PLACE_INDEX] === i) ?? [...EMPTY_PLACE];
const thisGroup = groups.find((g) => g[GROUP_PLACE_INDEX] === i) ?? [EMPTY_GROUP_DIGITS, i];
groupsSorted.push(thisGroup);
}



Зареждане…
Отказ
Запис