From 593adc2b697a475c942bf66d2ff42bc23c35aa22 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 18 Oct 2026 22:16:59 +0000 Subject: [PATCH 1/2] Initial plan From 8680c3d637f85b1d149ed186daf6c1d37f49f2b2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 18 Oct 2026 22:17:50 +0000 Subject: [PATCH 2/2] Apply remaining changes Co-authored-by: highperformancecoder <3075825+highperformancecoder@users.noreply.github.com> --- model/group.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/model/group.cc b/model/group.cc index 26db812d6..2c33d3cc4 100644 --- a/model/group.cc +++ b/model/group.cc @@ -1322,8 +1322,10 @@ namespace minsky void Group::gotoBookmark_b(const Bookmark& b) { - moveTo(b.x, b.y); + // zoom first (about the group origin), then position, so the + // bookmarked offset is not distorted by the zoom zoom(x(),y(),b.zoom/(relZoom*zoomFactor())); + moveTo(b.x, b.y); // TODO add canvas::gotoBookmark to avoid dependency inversion if (this==cminsky().canvas.model.get()) minsky().canvas.requestRedraw(); }