chore(ui): lint

This commit is contained in:
psychedelicious 2024-04-24 19:33:41 +10:00
parent af3e910ad3
commit 8d86fabf4b

View File

@ -588,7 +588,7 @@ const renderBackground = (stage: Konva.Stage, width: number, height: number) =>
* @param stage The konva stage
* @param layerIds An array of redux layer ids, in their z-index order
*/
export const arrangeLayers = (stage: Konva.Stage, layerIds: string[]): void => {
const arrangeLayers = (stage: Konva.Stage, layerIds: string[]): void => {
let nextZIndex = 0;
// Background is the first layer
stage.findOne<Konva.Layer>(`#${BACKGROUND_LAYER_ID}`)?.zIndex(nextZIndex++);