Right now objects are added onto the canvas in order of how they were added onto the project, and canvas js renders them in this order almost all of the time - sometimes it decides not to. Add a layer system where we can select layers for each asset/collection so that fabricjs always draws things on top of the board, for instance.
Everything should default to layer 0, so that if we want something like a board to be under everything it can be on layer -1 and if we want something like player pieces to be on top of everything it can be on layer 1. Consider adding names to layers but if this is too difficult, don't.
Right now objects are added onto the canvas in order of how they were added onto the project, and canvas js renders them in this order almost all of the time - sometimes it decides not to. Add a layer system where we can select layers for each asset/collection so that fabricjs always draws things on top of the board, for instance.
Everything should default to layer 0, so that if we want something like a board to be under everything it can be on layer -1 and if we want something like player pieces to be on top of everything it can be on layer 1. Consider adding names to layers but if this is too difficult, don't.