File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
invokeai/frontend/web/src/features/controlLayers/konva Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -431,7 +431,6 @@ export class CanvasCompositorModule extends CanvasModuleBase {
431431 cache : this . manager . cache . transparencyCalculationCache ,
432432 key : hash ,
433433 getValue : async ( ) => {
434- this . $isProcessing . set ( true ) ;
435434 const compositeInpaintMaskCanvas = this . getCompositeCanvas ( adapters , rect ) ;
436435
437436 const compositeInpaintMaskImageData = await CanvasCacheModule . getWithFallback ( {
@@ -486,6 +485,7 @@ export class CanvasCompositorModule extends CanvasModuleBase {
486485
487486 this . log . debug ( { rect } , 'Calculating generation mode' ) ;
488487
488+ this . $isProcessing . set ( true ) ;
489489 const compositeRasterLayerTransparency = await this . getTransparency (
490490 rasterLayerAdapters ,
491491 rect ,
@@ -497,6 +497,7 @@ export class CanvasCompositorModule extends CanvasModuleBase {
497497 rect ,
498498 compositeInpaintMaskHash
499499 ) ;
500+ this . $isProcessing . set ( false ) ;
500501
501502 let generationMode : GenerationMode ;
502503 if ( compositeRasterLayerTransparency === 'FULLY_TRANSPARENT' ) {
You can’t perform that action at this time.
0 commit comments