Skip to content

Commit

Permalink
Update RectangleEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
ReMinoer committed Jan 17, 2023
1 parent ceb040c commit 46a3dbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Calame.Viewer/Modules/TransformationEditorModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ protected override void HandleData(IGlyphData selection)

var rectangleEditor = _root.Add<RectangleEditor>(beforeAdding: Model.NotSelectableComponents.Add);
rectangleEditor.EditedObject = anchoredRectangleController;
rectangleEditor.ScaleAnchorNode = _viewerDocument?.Viewer.Runner.Engine.Root.GetSceneNode();
rectangleEditor.RaycastClient = Model.Client;
//rectangleEditor.Revaluation = x => Snap(selection.BindedObject, anchoredRectangleController.Rectangle.Position, x);

Expand Down

0 comments on commit 46a3dbe

Please sign in to comment.