Fix the editor's cell sort direction
This commit is contained in:
parent
39a7985c1e
commit
1dd617bbd0
@ -1129,7 +1129,7 @@ class Editor extends PrimaryView {
|
||||
}
|
||||
}
|
||||
cell.push({type});
|
||||
cell.sort((a, b) => b.type.draw_layer - a.type.draw_layer);
|
||||
cell.sort((a, b) => a.type.draw_layer - b.type.draw_layer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user