mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore(ui): lint
This commit is contained in:
parent
af3e910ad3
commit
8d86fabf4b
@ -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++);
|
||||
|
Loading…
Reference in New Issue
Block a user