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
This commit is contained in:
Xaver Hugl 2022-09-14 16:49:44 +02:00
parent 8ba77139e3
commit bc964ffd37
3 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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)) {

View file

@ -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)) {