Skip to content

Commit

Permalink
Stash item's parents relZoom, rather than the global canvas model. Fo…
Browse files Browse the repository at this point in the history
…r Ravel #647, #649 and #653.
  • Loading branch information
highperformancecoder committed Nov 19, 2024
1 parent 0d20ea3 commit 57dc590
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion model/pubTab.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ namespace minsky
{
if (!item.itemRef) return;
if (auto g=item.itemRef->group.lock())
g->relZoom=1/g->zoomFactor();
{
stashedZf=g->relZoom;
g->relZoom=1/g->zoomFactor();
}
if (auto g=item.itemRef->godleyIconCast())
{
if ((variableDisplay=g->variableDisplay()))
Expand Down

0 comments on commit 57dc590

Please sign in to comment.