on xenial help sign in
Fix dynamic overlay height. Fixes: 1334879
commitc9748a67eed1ccc28fe4fb3c6ffc9750bca80757 authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 27 Jun 2014, 08:47 (12 years ago) parent65fc570aafe3c0
2 files changed+2−2
plugins/Dash/CardCreator.js+1−1 tests/plugins/Dash/cardcreator/5.res+1−1
plugins/Dash/CardCreator.js+1−1
@@ -113,7 +113,7 @@ var kOverlayLoaderCode = 'Loader { \n\
113113 visible: showHeader && status == Loader.Ready; \n\
114114 sourceComponent: ShaderEffect { \n\
115115 id: overlay; \n\
116− height: fixedHeaderHeight > 0 ? fixedHeaderHeight + units.gu(1) * 2 : headerHeight; \n\
116+ height: (fixedHeaderHeight > 0 ? fixedHeaderHeight : headerHeight) + units.gu(2); \n\
117117 opacity: 0.6; \n\
118118 property var source: ShaderEffectSource { \n\
119119 id: shaderSource; \n\
tests/plugins/Dash/cardcreator/5.res+1−1
@@ -73,7 +73,7 @@ Loader {
7373 visible: showHeader && status == Loader.Ready;
7474 sourceComponent: ShaderEffect {
7575 id: overlay;
76− height: fixedHeaderHeight > 0 ? fixedHeaderHeight + units.gu(1) * 2 : headerHeight;
76+ height: (fixedHeaderHeight > 0 ? fixedHeaderHeight : headerHeight) + units.gu(2);
7777 opacity: 0.6;
7878 property var source: ShaderEffectSource {
7979 id: shaderSource;