aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/display-resizer.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-11-21 15:54:58 -0500
committerGitHub <noreply@github.com>2021-11-21 15:54:58 -0500
commit005f9658d98143ea1189482ae627405c8bf5a566 (patch)
tree712732685dd3300ad9403f17d2937486e3835661 /ext/js/display/display-resizer.js
parent06e70c1cd8a6e23b54ba9081caf82902820ceccd (diff)
Action handler name disambiguation (#2018)
* Disambiguate PopupFactory action handlers * Update HotkeyHandler action names * Disambiguate Frontend action handlers * Disambiguate Display action handlers * Disambiguate PopupPreviewFrame action handlers * Disambiguate Yomichan action handlers * Disambiguate Frontend action handlers * Disambiguate Display action handlers * Disambiguate SearchDisplayController action handlers
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 9fd56045..5512317a 100644
--- a/ext/js/display/display-resizer.js
+++ b/ext/js/display/display-resizer.js
@@ -128,7 +128,7 @@ class DisplayResizer {
const {parentPopupId} = this._display;
if (parentPopupId === null) { return; }
- const size = await this._display.invokeParentFrame('popup.getFrameSize', {id: parentPopupId});
+ const size = await this._display.invokeParentFrame('PopupFactory.getFrameSize', {id: parentPopupId});
if (this._token !== token) { return; }
this._startSize = size;
}
@@ -158,7 +158,7 @@ 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('popup.setFrameSize', {id: parentPopupId, width, height});
+ await this._display.invokeParentFrame('PopupFactory.setFrameSize', {id: parentPopupId, width, height});
}
_getTouch(touchList, identifier) {