Focus on center of board for board-related DRC markers.
Fixes https://gitlab.com/kicad/code/kicad/issues/6119
This commit is contained in:
parent
27e156917e
commit
d75f97161f
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue