mirror of
https://github.com/VitalickS/BrightSharp.Toolkit.git
synced 2026-03-21 02:21:15 +00:00
improvements and fixes
This commit is contained in:
@@ -47,8 +47,10 @@ namespace BrightSharp.Diagrams
|
||||
{
|
||||
Point dragDelta = new Point(e.HorizontalChange, e.VerticalChange);
|
||||
|
||||
var zoomControl = designerItem.Parent as dynamic;
|
||||
double.TryParse(zoomControl.Tag as string, out var gridSize);
|
||||
double gridSize = 0;
|
||||
|
||||
var zoomControl = designerItem.Parent as ZoomControl;
|
||||
if (zoomControl != null) gridSize = zoomControl.GridSize;
|
||||
|
||||
if (rotateTransform != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user