Skip to content

Commit e2de438

Browse files
committed
Fix sort
1 parent ae5ac6d commit e2de438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/image/image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,7 @@ export class Image {
16341634
labels.sort((v1, v2) => {
16351635
return v2.volume - v1.volume;
16361636
}).sort((v1, v2) => {
1637-
return v1.segment - v2.segment;
1637+
return v1.id - v2.id;
16381638
});
16391639

16401640
this.#fireEvent({

0 commit comments

Comments
 (0)