on xenial help sign in
make app 0 fade out on short backswipes too
commitac8a7b624c0c602909619c9e78109140a817299a authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 3 Feb 2014, 14:08 (13 years ago) parenta57ff95
2 files changed+2−1
qml/Stages/TransformedSpreadDelegate.qml+1−1 tests/mocks/Unity/Application/ApplicationManager.cpp+1
qml/Stages/TransformedSpreadDelegate.qml+1−1
@@ -198,7 +198,7 @@ SpreadDelegate {
198198
199199 property real opacity: {
200200 if (otherSelected) {
201− return linearAnimation (selectedProgress, selectedProgress - .5, selectedOpacity, 0, root.progress)
201+ return linearAnimation (selectedProgress, Math.max(0, selectedProgress - .5), selectedOpacity, 0, root.progress)
202202 }
203203 if (index == 0) {
204204 switch (spreadView.stage) {
tests/mocks/Unity/Application/ApplicationManager.cpp+1
@@ -371,6 +371,7 @@ void ApplicationManager::buildListOfAvailableApplications()
371371
372372 application = new ApplicationInfo(this);
373373 application->setAppId("webbrowser-app");
374+ application->setFullscreen(true);
374375 application->setName("Browser");
375376 application->setIcon(QUrl("browser"));
376377 application->setScreenshot(QString("image://application/%1/%2").arg(application->appId()).arg(QDateTime::currentMSecsSinceEpoch()));