mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
feat(ui/views/App/Calls/IncallFullscreenWindow): provide a better transition in opening
This commit is contained in:
parent
1dce1fefd1
commit
397aaf831b
1 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ Window {
|
|||
function exit (cb) {
|
||||
// It's necessary to call `showNormal` before close on MacOs
|
||||
// because the dock will be hidden forever!
|
||||
incall.visible = false
|
||||
incall.showNormal()
|
||||
incall.close()
|
||||
|
||||
|
|
@ -40,6 +41,7 @@ Window {
|
|||
var show = function (visibility) {
|
||||
if (visibility === Window.Windowed) {
|
||||
incall.visibilityChanged.disconnect(show)
|
||||
incall.visible = true
|
||||
incall.showFullScreen()
|
||||
}
|
||||
}
|
||||
|
|
@ -47,6 +49,8 @@ Window {
|
|||
incall.visibilityChanged.connect(show)
|
||||
}
|
||||
|
||||
visible: false
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Shortcut {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue