Fixed a bug that no longer reset horizontally scrollable text once the selection changed

This commit is contained in:
2023-08-08 10:50:06 -06:00
parent 9be4affec5
commit 841147f1c2
+1 -1
View File
@@ -586,7 +586,7 @@ mod tests {
assert_eq!(*horizontally_scrollable_test.offset.borrow(), 1);
horizontally_scrollable_test.scroll_left_or_reset(3, true, false);
horizontally_scrollable_test.scroll_left_or_reset(3, false, false);
assert_eq!(*horizontally_scrollable_test.offset.borrow(), 0);
}