Merge pull request #774 from KLayout/issue-715

Fixes #715 (selection box larger than drawn)
This commit is contained in:
Matthias Köfferlein
2021-04-19 22:29:11 +02:00
committed by GitHub
15 changed files with 151 additions and 34 deletions
+1
View File
@@ -183,6 +183,7 @@ class LAYLayoutView_TestClass < TestBase
assert_equal(view.has_selection?, false)
assert_equal(view.selection_size, 0)
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)