Focus on center of board for board-related DRC markers.

Fixes https://gitlab.com/kicad/code/kicad/issues/6119
This commit is contained in:
Jeff Young 2020-10-22 21:50:20 +01:00
parent 27e156917e
commit d75f97161f
1 changed files with 1 additions and 0 deletions

View File

@ -324,6 +324,7 @@ public:
wxPoint GetPosition() const override;
void SetPosition( const wxPoint& aPos ) override;
const wxPoint GetFocusPosition() const override { return GetBoundingBox().GetCenter(); }
bool IsEmpty() const
{