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 4
4
5
5
import * as i18n from '../../../core/i18n/i18n.js' ;
6
6
import * as UI from '../../../ui/legacy/legacy.js' ;
7
+ import * as Geometry from '../../../models/geometry/geometry.js' ;
7
8
import { createLogger } from '../core/Logger.js' ;
8
9
9
10
const logger = createLogger ( 'PromptEditDialog' ) ;
@@ -98,7 +99,7 @@ export class PromptEditDialog {
98
99
dialog . setOutsideClickCallback ( ( ) => this . close ( ) ) ;
99
100
dialog . contentElement . classList . add ( 'prompt-edit-dialog' ) ;
100
101
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 ) ) ;
102
103
103
104
// Apply styles by injecting a style element
104
105
const styleElement = document . createElement ( 'style' ) ;
@@ -548,4 +549,4 @@ export class PromptEditDialog {
548
549
this . activeDialog = null ;
549
550
}
550
551
}
551
- }
552
+ }
You can’t perform that action at this time.
0 commit comments