mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Allow not setting icon
This commit is contained in:
@@ -259,7 +259,8 @@ namespace GlitchyEngine
|
||||
// Determine whether or not the window is currently active
|
||||
_isActive = GetActiveWindow() == _windowHandle;
|
||||
|
||||
SetIcon(desc.Icon);
|
||||
if (!desc.Icon.IsEmpty)
|
||||
SetIcon(desc.Icon);
|
||||
}
|
||||
|
||||
private bool _isResizingOrMoving;
|
||||
|
||||
Reference in New Issue
Block a user