Commit bc964ffd authored by Xaver Hugl's avatar Xaver Hugl
Browse files

effects: increase animation speed for overview, windowview and desktop grid

It's now set to 300ms, which is what the old effects used. This should provide
a smooth looking animation without making it unnecessarily slow
parent 8ba77139
Pipeline #231884 passed with stage
in 15 minutes and 13 seconds
......@@ -98,7 +98,7 @@ void DesktopGridEffect::reconfigure(ReconfigureFlags)
{
DesktopGridConfig::self()->read();
setLayout(DesktopGridConfig::layoutMode());
setAnimationDuration(animationTime(400));
setAnimationDuration(animationTime(300));
for (const ElectricBorder &border : qAsConst(m_borderActivate)) {
effects->unreserveElectricBorder(border, this);
......
......@@ -93,7 +93,7 @@ void OverviewEffect::reconfigure(ReconfigureFlags)
{
OverviewConfig::self()->read();
setLayout(OverviewConfig::layoutMode());
setAnimationDuration(animationTime(400));
setAnimationDuration(animationTime(300));
setBlurBackground(OverviewConfig::blurBackground());
for (const ElectricBorder &border : qAsConst(m_borderActivate)) {
......
......@@ -185,7 +185,7 @@ int WindowViewEffect::requestedEffectChainPosition() const
void WindowViewEffect::reconfigure(ReconfigureFlags)
{
WindowViewConfig::self()->read();
setAnimationDuration(animationTime(400));
setAnimationDuration(animationTime(300));
setLayout(WindowViewConfig::layoutMode());
for (ElectricBorder border : qAsConst(m_borderActivate)) {
......
Supports Markdown
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