Fix the editor's cell sort direction

This commit is contained in:
Eevee (Evelyn Woods) 2020-09-16 01:18:14 -06:00
parent 39a7985c1e
commit 1dd617bbd0

View File

@ -1129,7 +1129,7 @@ class Editor extends PrimaryView {
} }
} }
cell.push({type}); 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);
} }
} }
} }