diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-12-31 03:17:10 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2020-01-10 06:02:37 +0300 |
commit | 678c1b0de037fa77035a8a60de17c723a0e306b1 (patch) | |
tree | 118752934f240f82d32d9c3087688acec3a1c1fc /src/FilesSidebarCallViewApp.vue | |
parent | 1459983a5febfa0992404edc4a4bd7e4e7e1f20e (diff) |
Add a "constrained layout" for call view to be used in the sidebar
Currently this mimics the layout used in Talk 7 when the call view was
shown in the Files app sidebar (smaller avatars, videos and paddings, no
screensharing button...), but even once the call view is moved to the
new layout a special handling will be needed when the space is limited.
Ideally the call view should automatically change between layouts based
on its size (probably using something like
ResizeObserver/MutationObserver), but for the time being it is
explicitly enabled when the call view is shown in the Files app sidebar.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'src/FilesSidebarCallViewApp.vue')
-rw-r--r-- | src/FilesSidebarCallViewApp.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FilesSidebarCallViewApp.vue b/src/FilesSidebarCallViewApp.vue index 65802f3c6..8fdac4ba4 100644 --- a/src/FilesSidebarCallViewApp.vue +++ b/src/FilesSidebarCallViewApp.vue @@ -19,7 +19,7 @@ --> <template> - <CallView v-show="isInCall" :token="token" /> + <CallView v-show="isInCall" :token="token" :use-constrained-layout="true" /> </template> <script> |