File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
front_end/panels/ai_chat/ui Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 44
55import * as i18n from '../../../core/i18n/i18n.js' ;
66import * as UI from '../../../ui/legacy/legacy.js' ;
7+ import * as Geometry from '../../../models/geometry/geometry.js' ;
78import { createLogger } from '../core/Logger.js' ;
89
910const logger = createLogger ( 'PromptEditDialog' ) ;
@@ -98,7 +99,7 @@ export class PromptEditDialog {
9899 dialog . setOutsideClickCallback ( ( ) => this . close ( ) ) ;
99100 dialog . contentElement . classList . add ( 'prompt-edit-dialog' ) ;
100101 dialog . setSizeBehavior ( UI . GlassPane . SizeBehavior . MEASURE_CONTENT ) ;
101- dialog . setMaxContentSize ( new UI . Geometry . Size ( window . innerWidth * 0.9 , window . innerHeight * 0.9 ) ) ;
102+ dialog . setMaxContentSize ( new Geometry . Size ( window . innerWidth * 0.9 , window . innerHeight * 0.9 ) ) ;
102103
103104 // Apply styles by injecting a style element
104105 const styleElement = document . createElement ( 'style' ) ;
@@ -548,4 +549,4 @@ export class PromptEditDialog {
548549 this . activeDialog = null ;
549550 }
550551 }
551- }
552+ }
You can’t perform that action at this time.
0 commit comments