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

This commit is contained in:
Ronan Abhamon 2017-06-14 10:08:40 +02:00
parent 0674cc4456
commit f7d8f6ba16
2 changed files with 7 additions and 1 deletions

View file

@ -46,6 +46,12 @@ Window {
Logic.openConferenceManager()
}
function setHeight (height) {
window.height = height > Screen.desktopAvailableHeight
? Screen.desktopAvailableHeight
: height
}
// ---------------------------------------------------------------------------
minimumHeight: CallsWindowStyle.minimumHeight

View file

@ -35,7 +35,7 @@ function handleCameraFirstFrameReceived (width, height) {
return
}
window.height += diff
window.setHeight(window.height + diff)
}
function handleStatusChanged (status) {