Skip to content

Commit 3819c2c

Browse files
committed
fix build issue with latest main merge
1 parent 81e470b commit 3819c2c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

front_end/panels/ai_chat/ui/PromptEditDialog.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import * as i18n from '../../../core/i18n/i18n.js';
66
import * as UI from '../../../ui/legacy/legacy.js';
7+
import * as Geometry from '../../../models/geometry/geometry.js';
78
import { createLogger } from '../core/Logger.js';
89

910
const 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+
}

0 commit comments

Comments
 (0)