File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
invokeai/frontend/web/src/features/controlLayers/konva Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -158,14 +158,6 @@ export class CanvasStagingAreaModule extends CanvasModuleBase {
158
158
) ;
159
159
}
160
160
161
- syncPlaceholderSize = ( ) => {
162
- const { width, height } = this . manager . stateApi . getBbox ( ) . rect ;
163
- this . konva . placeholder . rect . width ( width ) ;
164
- this . konva . placeholder . rect . height ( height ) ;
165
- this . konva . placeholder . badgeBg . width ( Math . min ( BADGE_MIN_WIDTH + 4 , width - SPACING_2 * 2 + 4 ) ) ;
166
- this . konva . placeholder . text . width ( Math . min ( BADGE_MIN_WIDTH , width - SPACING_4 ) ) ;
167
- } ;
168
-
169
161
initialize = ( ) => {
170
162
this . log . debug ( 'Initializing module' ) ;
171
163
this . render ( ) ;
@@ -246,7 +238,6 @@ export class CanvasStagingAreaModule extends CanvasModuleBase {
246
238
} else {
247
239
this . image ?. destroy ( ) ;
248
240
this . image = null ;
249
- this . syncPlaceholderSize ( ) ;
250
241
this . konva . placeholder . group . visible ( true ) ;
251
242
}
252
243
You can’t perform that action at this time.
0 commit comments