perf: improve animation smoothness on Wayland

This commit is contained in:
dela
2026-06-10 16:12:29 +08:00
parent d56e09914f
commit 012d165b81
8 changed files with 338 additions and 102 deletions

View File

@@ -66,6 +66,9 @@ ConfigStore::ConfigStore(QObject* parent) : QObject(parent) {
if (!m_settings->contains(ConfigKeys::ImageCacheDuration)) {
m_settings->setValue(ConfigKeys::ImageCacheDuration, "7");
}
if (!m_settings->contains(ConfigKeys::SnapshotNavigation)) {
m_settings->setValue(ConfigKeys::SnapshotNavigation, true);
}
}
ConfigStore::~ConfigStore() {