fix: unable to click the items in a long list (#4733)

This commit is contained in:
Lucas.Xu 2024-02-25 20:36:46 +07:00 committed by GitHub
parent b60d25a0e3
commit b75947b630
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View File

@ -78,7 +78,8 @@ class DocumentAppearanceCubit extends Cubit<DocumentAppearance> {
? Color(int.parse(selectionColorString))
: null;
final textScaleFactor = prefs.getDouble(KVKeys.textScaleFactor) ?? 1.0;
final textScaleFactor =
double.parse(prefs.getString(KVKeys.textScaleFactor) ?? '1.0');
if (isClosed) {
return;

View File

@ -53,8 +53,8 @@ packages:
dependency: "direct main"
description:
path: "."
ref: "1715ed4"
resolved-ref: "1715ed45490e0a432fa1bbfcb2f1693471632ff7"
ref: "0a84917"
resolved-ref: "0a84917e71cc44c9151f2f59aba72bcdacc66e57"
url: "https://github.com/AppFlowy-IO/appflowy-editor.git"
source: git
version: "2.3.2"

View File

@ -167,7 +167,7 @@ dependency_overrides:
appflowy_editor:
git:
url: https://github.com/AppFlowy-IO/appflowy-editor.git
ref: "1715ed4"
ref: "0a84917"
sheet:
git: