mirror of https://github.com/KLayout/klayout.git
Fixed LayoutView test after text selection is no longer confined to text origin points
This commit is contained in:
parent
f25d20be20
commit
0027bba8c6
|
|
@ -186,7 +186,7 @@ class LAYLayoutView_TestClass < TestBase
|
||||||
view.set_config("search-range-box", "5")
|
view.set_config("search-range-box", "5")
|
||||||
view.select_from(RBA::DBox::new(-1.0, -1.0, 1.0, 1.0))
|
view.select_from(RBA::DBox::new(-1.0, -1.0, 1.0, 1.0))
|
||||||
assert_equal(selection_changed, 1)
|
assert_equal(selection_changed, 1)
|
||||||
assert_equal(view.selection_size, 4)
|
assert_equal(view.selection_size, 2)
|
||||||
assert_equal(view.has_selection?, true)
|
assert_equal(view.has_selection?, true)
|
||||||
|
|
||||||
view.select_from(RBA::DPoint::new(0, 0), RBA::LayoutView::Invert)
|
view.select_from(RBA::DPoint::new(0, 0), RBA::LayoutView::Invert)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue