fix: only scroll when using arrow keys
This commit is contained in:
1 parent
914bb2ac16
commit
9068199236
2 files changed
+14
-5
No files matched your search
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user