mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Project cleanup
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user