Fix the editor's cell sort direction
This commit is contained in:
1 parent
39a7985c1e
commit
1dd617bbd0
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user