Ignore hidden text fields when cross-probing

Zoom-to-selection should only show the elements that we can see, so
avoiding hidden fields in footprints keeps the zoom window appropriately
sized

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15245

(cherry picked from commit 416033e8e5)
This commit is contained in:
Seth Hillbrand
2024-06-29 08:02:57 -07:00
parent ee0be76fb4
commit e308d65108
7 changed files with 30 additions and 6 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ VECTOR2I SELECTION::GetCenter() const
}
BOX2I SELECTION::GetBoundingBox() const
BOX2I SELECTION::GetBoundingBox( bool aOnlyVisible ) const
{
BOX2I bbox;