Skip to content

Commit 78c00ed

Browse files
feat(ui): tidy
1 parent 66921c4 commit 78c00ed

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

invokeai/frontend/web/src/features/gallery/store/gallerySlice.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export const gallerySlice = createSlice({
4040
action: PayloadAction<SelectedImage | undefined>
4141
) => {
4242
state.selectedImage = action.payload;
43+
// TODO: if the user selects an image, disable the auto switch?
44+
// state.shouldAutoSwitchToNewImages = false;
4345
},
4446
setGalleryImageMinimumWidth: (state, action: PayloadAction<number>) => {
4547
state.galleryImageMinimumWidth = action.payload;

invokeai/frontend/web/src/features/parameters/components/ProgressImagePreview.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,6 @@ const ProgressImagePreview = () => {
8989
onResizeStop={(e, direction, ref, delta, position) => {
9090
const newRect: Partial<Rect> = {};
9191

92-
console.log(
93-
ref.style.width,
94-
ref.style.height,
95-
position.x,
96-
position.y
97-
);
98-
9992
if (ref.style.width) {
10093
newRect.width = ref.style.width;
10194
}

0 commit comments

Comments
 (0)