Commit f7d8f6ba authored by Ronan Abhamon's avatar Ronan Abhamon

feat(ui/views/App/Calls/CallsWindow): do not resize height if it's greater than deskop height

parent 0674cc44
...@@ -46,6 +46,12 @@ Window { ...@@ -46,6 +46,12 @@ Window {
Logic.openConferenceManager() Logic.openConferenceManager()
} }
function setHeight (height) {
window.height = height > Screen.desktopAvailableHeight
? Screen.desktopAvailableHeight
: height
}
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
minimumHeight: CallsWindowStyle.minimumHeight minimumHeight: CallsWindowStyle.minimumHeight
......
...@@ -35,7 +35,7 @@ function handleCameraFirstFrameReceived (width, height) { ...@@ -35,7 +35,7 @@ function handleCameraFirstFrameReceived (width, height) {
return return
} }
window.height += diff window.setHeight(window.height + diff)
} }
function handleStatusChanged (status) { function handleStatusChanged (status) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment