File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
invokeai/frontend/web/src/features/controlLayers/konva/CanvasObject Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import type { CanvasManager } from 'features/controlLayers/konva/CanvasManager';
8
8
import { CanvasModuleBase } from 'features/controlLayers/konva/CanvasModuleBase' ;
9
9
import type { CanvasSegmentAnythingModule } from 'features/controlLayers/konva/CanvasSegmentAnythingModule' ;
10
10
import type { CanvasStagingAreaModule } from 'features/controlLayers/konva/CanvasStagingAreaModule' ;
11
- import { loadImage } from 'features/controlLayers/konva/util' ;
11
+ import { getKonvaNodeDebugAttrs , loadImage } from 'features/controlLayers/konva/util' ;
12
12
import type { CanvasImageState } from 'features/controlLayers/store/types' ;
13
13
import { t } from 'i18next' ;
14
14
import Konva from 'konva' ;
@@ -208,6 +208,10 @@ export class CanvasObjectImage extends CanvasModuleBase {
208
208
isLoading : this . isLoading ,
209
209
isError : this . isError ,
210
210
state : deepClone ( this . state ) ,
211
+ konva : {
212
+ group : getKonvaNodeDebugAttrs ( this . konva . group ) ,
213
+ image : this . konva . image ? getKonvaNodeDebugAttrs ( this . konva . image ) : null ,
214
+ } ,
211
215
} ;
212
216
} ;
213
217
}
You can’t perform that action at this time.
0 commit comments