Skip to content

Commit

Permalink
Revert "enable zoom for testing"
Browse files Browse the repository at this point in the history
This reverts commit 69fa0aa.
  • Loading branch information
Heathermcx committed Jan 2, 2024
1 parent 6000e56 commit 04a8e57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion site/Site/Pages/Documentation/Controls/Overview.razor
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ Diagram.Controls.AddFor(SomeModel).Add(new ResizeControl(new TopLeftResizerProvi
_dnlDiagram.SelectModel(dnlNode2, false);

// Resize Control
_resizerDiagram.Options.Zoom.Enabled = true;
var resizeNode1 = _resizerDiagram.Nodes.Add(new NodeModel(new Point(100, 100)));
var resizeNode2 = _resizerDiagram.Nodes.Add(new NodeModel(new Point(500, 150)));
resizeNode1.Title = "Title";
Expand Down
2 changes: 1 addition & 1 deletion site/Site/Pages/Documentation/Widgets/Grid.razor
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@

protected override void OnInitialized()
{
_diagram.Options.Zoom.Enabled = true;
_diagram.Options.Zoom.Enabled = false;

var node1 = _diagram.Nodes.Add(new NodeModel(new Point(100, 100)));
var node2 = _diagram.Nodes.Add(new NodeModel(new Point(500, 150)));
Expand Down

0 comments on commit 04a8e57

Please sign in to comment.