[plasma-framework] src/declarativeimports/core: Shorter animations
Sebastian Kügler
sebas at kde.org
Sat Feb 21 18:56:04 UTC 2015
Git commit 2cf49abb3e2c4e8ea8d5cb55e523dc1c3f57bddd by Sebastian Kügler.
Committed on 21/02/2015 at 18:53.
Pushed by sebas into branch 'master'.
Shorter animations
This patch cuts down animation time quite considerably. We've discussed
this during the sprint. The default long animation is now 120ms instead
of 250. We have played around with different values, and this seemed to
hit sweet spot between the interface feeling really snappy, but the
animations still visible, so no sudden transitions in the UI.
We should consider doing something similar for kwin animations.
Reviewed-by: Kai Uwe & Marco
CCMAIL:plasma-devel at kde.org
CCMAIL:kwin at kde.org
M +1 -1 src/declarativeimports/core/units.cpp
http://commits.kde.org/plasma-framework/2cf49abb3e2c4e8ea8d5cb55e523dc1c3f57bddd
diff --git a/src/declarativeimports/core/units.cpp b/src/declarativeimports/core/units.cpp
index a740145..148e08c 100644
--- a/src/declarativeimports/core/units.cpp
+++ b/src/declarativeimports/core/units.cpp
@@ -35,7 +35,7 @@
const QString plasmarc = QStringLiteral("plasmarc");
const QString groupName = QStringLiteral("Units");
-const int defaultLongDuration = 250;
+const int defaultLongDuration = 120;
Units::Units(QObject *parent)
: QObject(parent),
More information about the Plasma-devel
mailing list