mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
UI - Fixed potential issue with fullscreen apps
Removed the MainWindowHandle constant as it was causing issues in combination with the tray icon
This commit is contained in:
1 parent
fb2eeb2396
commit
985acca66c
4 files changed
+2
-32
No files matched your search
@@ -125,11 +125,6 @@ namespace Artemis.Core.Services
|
||||
});
|
||||
}
|
||||
|
||||
public void SetMainWindowHandle(IntPtr handle)
|
||||
{
|
||||
Constants.MainWindowHandle = handle;
|
||||
}
|
||||
|
||||
protected virtual void OnFrameRendering(FrameRenderingEventArgs e)
|
||||
{
|
||||
FrameRendering?.Invoke(this, e);
|
||||
|
||||
@@ -46,11 +46,5 @@ namespace Artemis.Core.Services.Interfaces
|
||||
/// Occurs whenever a frame is finished rendering and processed by RGB.NET
|
||||
/// </summary>
|
||||
event EventHandler<FrameRenderedEventArgs> FrameRendered;
|
||||
|
||||
/// <summary>
|
||||
/// To be called by the UI to setup the main window handle
|
||||
/// </summary>
|
||||
/// <param name="handle"></param>
|
||||
void SetMainWindowHandle(IntPtr handle);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user