mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Core port - Targeting .NET Core 3.1!
Core port - Updated projects to new project layout Core port - Changed the way devices are identified to be consistent across different frameworks Core port - Updated plugin system to no longer use AppDomain but AssemblyLoadContext (through McMaster.NETCore.Plugins) Core port - Renamed a few events to keep Fody from getting confused
This commit is contained in:
1 parent
29a75b7ad8
commit
a79c56eaa1
61 files changed
+537
-2031
No files matched your search
@@ -11,7 +11,7 @@ namespace Artemis.UI.Screens.SurfaceEditor.Visualization
|
||||
Led = led;
|
||||
ApplyLedToViewModel();
|
||||
|
||||
Led.PropertyChanged += OnLedOnPropertyChanged;
|
||||
Led.PropertyChanged += ApplyViewModelOnLedChange;
|
||||
}
|
||||
|
||||
public Led Led { get; set; }
|
||||
@@ -30,7 +30,7 @@ namespace Artemis.UI.Screens.SurfaceEditor.Visualization
|
||||
Height = Led.ActualSize.Height;
|
||||
}
|
||||
|
||||
private void OnLedOnPropertyChanged(object sender, PropertyChangedEventArgs args)
|
||||
private void ApplyViewModelOnLedChange(object sender, PropertyChangedEventArgs args)
|
||||
{
|
||||
if (args.PropertyName == "Location" || args.PropertyName == "ActualSize") ApplyLedToViewModel();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user