summaryrefslogtreecommitdiff
path: root/ext/js/display/display-resizer.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/display/display-resizer.js')
-rw-r--r--ext/js/display/display-resizer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/display/display-resizer.js b/ext/js/display/display-resizer.js
index 794398b8..8245e0bb 100644
--- a/ext/js/display/display-resizer.js
+++ b/ext/js/display/display-resizer.js
@@ -174,7 +174,7 @@ export class DisplayResizer {
if (parentPopupId === null) { return; }
/** @type {import('popup').ValidSize} */
- const size = await this._display.invokeParentFrame('PopupFactory.getFrameSize', {id: parentPopupId});
+ const size = await this._display.invokeParentFrame('popupFactoryGetFrameSize', {id: parentPopupId});
if (this._token !== token) { return; }
const {width, height} = size;
this._startSize = {width, height};
@@ -210,7 +210,7 @@ export class DisplayResizer {
height += y - this._startOffset.y;
width = Math.max(Math.max(0, handleSize.width), width);
height = Math.max(Math.max(0, handleSize.height), height);
- await this._display.invokeParentFrame('PopupFactory.setFrameSize', {id: parentPopupId, width, height});
+ await this._display.invokeParentFrame('popupFactorySetFrameSize', {id: parentPopupId, width, height});
}
/**