From d75f97161f0f6277bf2c4fe0bf67232f4fcbe0b2 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 22 Oct 2020 21:50:20 +0100 Subject: [PATCH] Focus on center of board for board-related DRC markers. Fixes https://gitlab.com/kicad/code/kicad/issues/6119 --- pcbnew/class_board.h | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/class_board.h b/pcbnew/class_board.h index 20eeeacb99..7ef6e03a04 100644 --- a/pcbnew/class_board.h +++ b/pcbnew/class_board.h @@ -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 {