Commit 397aaf83 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(ui/views/App/Calls/IncallFullscreenWindow): provide a better transition in opening

parent 1dce1fef
......@@ -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 {
......
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