Skip to content

Commit

Permalink
fix(ui): out of order entity selector, causing issues w/ hotkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious authored and hipsterusername committed Sep 18, 2024
1 parent 9e6b60a commit 91d77b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ export function selectAllEntitiesOfType<T extends CanvasEntityState['type']>(
export function selectAllEntities(state: CanvasState): CanvasEntityState[] {
// These are in the same order as they are displayed in the list!
return [
...state.referenceImages.entities.toReversed(),
...state.inpaintMasks.entities.toReversed(),
...state.regionalGuidance.entities.toReversed(),
...state.referenceImages.entities.toReversed(),
...state.controlLayers.entities.toReversed(),
...state.rasterLayers.entities.toReversed(),
];
Expand Down

0 comments on commit 91d77b5

Please sign in to comment.