diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2020-02-17 06:48:04 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2020-02-17 06:48:04 +0900 |
| commit | c628bdb7a66a3f665777082a1c5ea8df9fa0bdbd (patch) | |
| tree | 0ea5a448e923aef7be1b27d0151df0a0723e0c55 /src/client | |
| parent | UI tweak (diff) | |
| download | sharkey-c628bdb7a66a3f665777082a1c5ea8df9fa0bdbd.tar.gz sharkey-c628bdb7a66a3f665777082a1c5ea8df9fa0bdbd.tar.bz2 sharkey-c628bdb7a66a3f665777082a1c5ea8df9fa0bdbd.zip | |
Fix glitch
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/directives/size.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/directives/size.ts b/src/client/directives/size.ts index 140cb0bd70..c4dd7b145d 100644 --- a/src/client/directives/size.ts +++ b/src/client/directives/size.ts @@ -54,6 +54,8 @@ export default { calc(); + vn.context.$on('hook:activated', calc); + const ro = new ResizeObserver((entries, observer) => { calc(); }); |