aboutsummaryrefslogtreecommitdiff
path: root/src/content/usecases
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-03-16 22:40:26 +0900
committerGitHub <noreply@github.com>2021-03-16 22:40:26 +0900
commitd8bbad8e1b774d6e46c7fa05324c90ce2b716a66 (patch)
tree4d4dd139b2e73bbaa5643e5b3bd6e123a6ce3e99 /src/content/usecases
parent1f2afb8c157aa601e7cbd46041c9bf063c63d982 (diff)
parent04ebd1e5331d29b2413c174ae0fe9d73566b3b8d (diff)
Merge pull request #1034 from ueokande/iframe-dynamic-resize
Iframe dynamic resize
Diffstat (limited to 'src/content/usecases')
-rw-r--r--src/content/usecases/ConsoleFrameUseCase.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/content/usecases/ConsoleFrameUseCase.ts b/src/content/usecases/ConsoleFrameUseCase.ts
index b118c7f..7a0891d 100644
--- a/src/content/usecases/ConsoleFrameUseCase.ts
+++ b/src/content/usecases/ConsoleFrameUseCase.ts
@@ -12,4 +12,8 @@ export default class ConsoleFrameUseCase {
window.focus();
this.consoleFramePresenter.blur();
}
+
+ resize(width: number, height: number) {
+ this.consoleFramePresenter.resize(width, height);
+ }
}