diff --git a/src/agent/userconfig.cpp b/src/agent/userconfig.cpp index 3c00aef..4524e72 100644 --- a/src/agent/userconfig.cpp +++ b/src/agent/userconfig.cpp @@ -36,7 +36,9 @@ void UserConfig::load() m_bubbleStyle = kv.value(QStringLiteral("BubbleStyle"), QStringLiteral("full")) == u"minimal" ? QStringLiteral("minimal") : QStringLiteral("full"); m_bubbleForPrompts = kv.boolean(QStringLiteral("BubbleForPrompts"), true); const QString speed = kv.value(QStringLiteral("AnimationSpeed"), QStringLiteral("normal")); - m_pace = speed == u"fast" ? 0.6 : speed == u"slow" ? 1.5 : 1.0; + // The durations in the code are brisk, like on a phone. On a big screen + // they read better a little longer, so normal stretches them. + m_pace = speed == u"fast" ? 1.0 : speed == u"slow" ? 2.0 : 1.3; if (QFileInfo::exists(path()) && !m_watcher.files().contains(path())) { m_watcher.addPath(path()); diff --git a/src/agent/userconfig.h b/src/agent/userconfig.h index ec63276..2d4cde3 100644 --- a/src/agent/userconfig.h +++ b/src/agent/userconfig.h @@ -55,8 +55,9 @@ public: { return m_bubbleForPrompts; } - // How long the bubble's animations take, as a multiple of normal: the - // animation speed setting (fast 0.6, normal 1, slow 1.5). + // How long the bubble's animations take, as a multiple of the durations + // in the code: the animation speed setting (fast 1, normal 1.3, + // slow 2). qreal pace() const { return m_pace; @@ -77,6 +78,6 @@ private: bool m_bubble = true; QString m_bubbleStyle = QStringLiteral("full"); bool m_bubbleForPrompts = true; - qreal m_pace = 1; + qreal m_pace = 1.3; QString m_styleOverride; };