mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Cleaned up setting service, lol old approach was dumb
Made PluginSetting<T> act as a singleton
This commit is contained in:
1 parent
6ebceacd13
commit
0d68bee3ad
6 files changed
+70
-55
No files matched your search
@@ -36,6 +36,9 @@ namespace Artemis.UI.ViewModels.Screens
|
||||
|
||||
private void CoreServiceOnFrameRendered(object sender, FrameRenderedEventArgs e)
|
||||
{
|
||||
if (e.Bitmap == null)
|
||||
return;
|
||||
|
||||
var imageSource = ImageSourceFromBitmap(e.Bitmap);
|
||||
imageSource.Freeze();
|
||||
Execute.OnUIThread(() =>
|
||||
|
||||
Reference in new issue
Block a user