mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-03 22:56:49 +00:00
feat(ui/views/App/Calls/CallsWindow): do not resize height if it's greater than deskop height
This commit is contained in:
parent
0674cc4456
commit
f7d8f6ba16
2 changed files with 7 additions and 1 deletions
|
|
@ -46,6 +46,12 @@ Window {
|
|||
Logic.openConferenceManager()
|
||||
}
|
||||
|
||||
function setHeight (height) {
|
||||
window.height = height > Screen.desktopAvailableHeight
|
||||
? Screen.desktopAvailableHeight
|
||||
: height
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
minimumHeight: CallsWindowStyle.minimumHeight
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ function handleCameraFirstFrameReceived (width, height) {
|
|||
return
|
||||
}
|
||||
|
||||
window.height += diff
|
||||
window.setHeight(window.height + diff)
|
||||
}
|
||||
|
||||
function handleStatusChanged (status) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue