opt: set&get sheetHeight

This commit is contained in:
guozhigq
2024-10-19 13:31:11 +08:00
parent c755e8a60f
commit 95df2fb6ab
2 changed files with 3 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class GlobalDataCache {
speedsList.addAll(playSpeedSystem);
userInfo = userInfoCache.get('userInfoCache');
sheetHeight = localCache.get('sheetHeight');
sheetHeight = localCache.get('sheetHeight', defaultValue: 0.0);
historyCacheList = localCache.get('cacheList', defaultValue: []);
}
}