ummm new dark mode code
This commit is contained in:
@@ -29,12 +29,9 @@ class NativeAPI {
|
||||
#end
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the window titlebar to dark mode (Windows 10 only)
|
||||
*/
|
||||
public static function setDarkMode(enable:Bool) {
|
||||
public static function setDarkMode(handle:Dynamic, enable:Bool) {
|
||||
#if windows
|
||||
Windows.setDarkMode(enable);
|
||||
Windows.setDarkMode(handle, enable);
|
||||
#end
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user