opt.: server card loading UI

This commit is contained in:
lollipopkit🏳️‍⚧️
2025-06-04 00:47:18 +08:00
parent 0c1ada0067
commit bc824691e0
3 changed files with 11 additions and 35 deletions

View File

@@ -170,8 +170,8 @@ extension _Utils on _ServerPageState {
_offset = x * r * n;
}
void _updateTextScaler() {
_textFactorDouble = Stores.setting.textFactor.fetch();
void _updateTextScaler(double val) {
_textFactorDouble = val;
_textFactor = TextScaler.linear(_textFactorDouble);
}