diff options
author | Dominik Holland <dominik.holland@pelagicore.com> | 2017-09-27 15:24:02 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@pelagicore.com> | 2017-09-27 14:21:53 +0000 |
commit | e6820a0feea072d76feafdc7fb5a65a90f31c6c9 (patch) | |
tree | 20158e07834e581070cd21bbcc8d06125f808e34 | |
parent | 1ad155eaf2df22160cac1a8d667233bce9bdaafd (diff) | |
download | neptune-ui-e6820a0feea072d76feafdc7fb5a65a90f31c6c9.tar.gz |
Fix jumping content when about page is showing
The Page Component of QtQuickControls2 doesn't like to be invisible and
used in a ShaderEffect at the same time. There seems to be some optimization
to not do any layouting when the Component is invisible.
To fix this we set the opacity to 0 instead.
Change-Id: I1487d501f17ae4d8ab2dd7686ba327b51a5e5424
Task-number: QTAUTO-561
Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
-rw-r--r-- | sysui/display/LaunchController.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysui/display/LaunchController.qml b/sysui/display/LaunchController.qml index 8079047..287666c 100644 --- a/sysui/display/LaunchController.qml +++ b/sysui/display/LaunchController.qml @@ -64,7 +64,7 @@ Item { height: parent.height focus: true - visible: fastBlur.radius === 0 + opacity: fastBlur.radius === 0 ? 1 : 0 pushEnter: windowTransitions ? windowTransitions.pushEnter : null pushExit: windowTransitions ? windowTransitions.pushExit : null @@ -141,7 +141,7 @@ Item { anchors.fill: stackView source: stackView radius: SystemModel.statusBarExpanded ? 100 : 0 - visible: !stackView.visible + visible: stackView.opacity == 0 enabled: visible Behavior on radius { |