mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
resolve conflicts with main and rebuild frontend
This commit is contained in:
@@ -49,7 +49,6 @@ const initialCanvasState: CanvasState = {
|
||||
cursorPosition: null,
|
||||
doesCanvasNeedScaling: false,
|
||||
futureLayerStates: [],
|
||||
inpaintReplace: 0.1,
|
||||
isCanvasInitialized: false,
|
||||
isDrawing: false,
|
||||
isMaskEnabled: true,
|
||||
@@ -82,7 +81,6 @@ const initialCanvasState: CanvasState = {
|
||||
shouldShowStagingImage: true,
|
||||
shouldShowStagingOutline: true,
|
||||
shouldSnapToGrid: true,
|
||||
shouldUseInpaintReplace: false,
|
||||
stageCoordinates: { x: 0, y: 0 },
|
||||
stageDimensions: { width: 0, height: 0 },
|
||||
stageScale: 1,
|
||||
@@ -264,12 +262,6 @@ export const canvasSlice = createSlice({
|
||||
state.pastLayerStates = [];
|
||||
state.futureLayerStates = [];
|
||||
},
|
||||
setShouldUseInpaintReplace: (state, action: PayloadAction<boolean>) => {
|
||||
state.shouldUseInpaintReplace = action.payload;
|
||||
},
|
||||
setInpaintReplace: (state, action: PayloadAction<number>) => {
|
||||
state.inpaintReplace = action.payload;
|
||||
},
|
||||
setShouldLockBoundingBox: (state, action: PayloadAction<boolean>) => {
|
||||
state.shouldLockBoundingBox = action.payload;
|
||||
},
|
||||
@@ -858,7 +850,6 @@ export const {
|
||||
setCursorPosition,
|
||||
setDoesCanvasNeedScaling,
|
||||
setInitialCanvasImage,
|
||||
setInpaintReplace,
|
||||
setIsDrawing,
|
||||
setIsMaskEnabled,
|
||||
setIsMouseOverBoundingBox,
|
||||
@@ -885,7 +876,6 @@ export const {
|
||||
setShouldShowStagingImage,
|
||||
setShouldShowStagingOutline,
|
||||
setShouldSnapToGrid,
|
||||
setShouldUseInpaintReplace,
|
||||
setStageCoordinates,
|
||||
setStageScale,
|
||||
setTool,
|
||||
|
||||
@@ -125,7 +125,6 @@ export interface CanvasState {
|
||||
cursorPosition: Vector2d | null;
|
||||
doesCanvasNeedScaling: boolean;
|
||||
futureLayerStates: CanvasLayerState[];
|
||||
inpaintReplace: number;
|
||||
intermediateImage?: InvokeAI.Image;
|
||||
isCanvasInitialized: boolean;
|
||||
isDrawing: boolean;
|
||||
@@ -159,7 +158,6 @@ export interface CanvasState {
|
||||
shouldShowStagingImage: boolean;
|
||||
shouldShowStagingOutline: boolean;
|
||||
shouldSnapToGrid: boolean;
|
||||
shouldUseInpaintReplace: boolean;
|
||||
stageCoordinates: Vector2d;
|
||||
stageDimensions: Dimensions;
|
||||
stageScale: number;
|
||||
|
||||
Reference in New Issue
Block a user