fix: only scroll when using arrow keys

This commit is contained in:
Anna committed 2022-05-31 23:55:02 -04:00
1 parent 914bb2ac16
commit 9068199236
2 files changed
+14 -5

No files matched your search

+2 -2
View File
@@ -93,7 +93,7 @@ internal static class AutoTranslate {
if (Entries.TryGetValue(data.Language, out var entries)) {
return entries;
}
var shouldAdd = ValidEntries.Count == 0;
var parser = Parser();
@@ -186,7 +186,7 @@ internal static class AutoTranslate {
text.TextValue,
text
));
if (shouldAdd) {
ValidEntries.Add((row.Group, row.RowId));
}