Fixed LayoutView test after text selection is no longer confined to text origin points

This commit is contained in:
Matthias Koefferlein 2023-05-11 23:41:21 +02:00
parent f25d20be20
commit 0027bba8c6
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ class LAYLayoutView_TestClass < TestBase
view.set_config("search-range-box", "5")
view.select_from(RBA::DBox::new(-1.0, -1.0, 1.0, 1.0))
assert_equal(selection_changed, 1)
assert_equal(view.selection_size, 4)
assert_equal(view.selection_size, 2)
assert_equal(view.has_selection?, true)
view.select_from(RBA::DPoint::new(0, 0), RBA::LayoutView::Invert)