Project cleanup

This commit is contained in:
Robert committed 2020-02-13 19:38:43 +01:00
1 parent 73115898de
commit 6f95c609b6
51 files changed
+440 -490

No files matched your search

@@ -21,11 +21,6 @@ namespace Artemis.UI.Screens.SurfaceEditor.Visualization
public double Width { get; set; }
public double Height { get; set; }
private void OnLedOnPropertyChanged(object sender, PropertyChangedEventArgs args)
{
if (args.PropertyName == "Location" || args.PropertyName == "ActualSize") ApplyLedToViewModel();
}
public void ApplyLedToViewModel()
{
// Don't want ActualLocation here since rotation is done in XAML
@@ -34,5 +29,10 @@ namespace Artemis.UI.Screens.SurfaceEditor.Visualization
Width = Led.ActualSize.Width;
Height = Led.ActualSize.Height;
}
private void OnLedOnPropertyChanged(object sender, PropertyChangedEventArgs args)
{
if (args.PropertyName == "Location" || args.PropertyName == "ActualSize") ApplyLedToViewModel();
}
}
}