Skip to content

Commit

Permalink
removed unused field from RenderTransformOriginExtension
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeOMP committed Nov 29, 2023
1 parent 4de7d6c commit 8ab8159
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ public class RenderTransformOriginExtension : SelectionAdornerProvider
{
readonly AdornerPanel adornerPanel;
RenderTransformOriginThumb renderTransformOriginThumb;
/// <summary>An array containing this.ExtendedItem as only element</summary>
readonly DesignItem[] extendedItemArray = new DesignItem[1];

// IPlacementBehavior resizeBehavior;
// PlacementOperation operation;
// ChangeGroup changeGroup;
Expand Down Expand Up @@ -87,7 +86,6 @@ void renderTransformOriginThumb_DragDelta(object sender, DragDeltaEventArgs e)
protected override void OnInitialized()
{
base.OnInitialized();
extendedItemArray[0] = this.ExtendedItem;
this.ExtendedItem.PropertyChanged += OnPropertyChanged;

if (this.ExtendedItem.Properties.GetProperty(FrameworkElement.RenderTransformOriginProperty).IsSet) {
Expand Down

0 comments on commit 8ab8159

Please sign in to comment.