Default allowHighDPI to false on desktop, fix initialization to set value
This commit is contained in:
@@ -189,6 +189,8 @@ class HXProject {
|
||||
architectures = [ Architecture.X86 ];
|
||||
|
||||
}
|
||||
|
||||
defaultWindow.allowHighDPI = false;
|
||||
|
||||
default:
|
||||
|
||||
|
||||
@@ -77,6 +77,7 @@ class ApplicationMain {
|
||||
windows: [
|
||||
::foreach windows::
|
||||
{
|
||||
allowHighDPI: ::allowHighDPI::,
|
||||
antialiasing: ::antialiasing::,
|
||||
background: ::background::,
|
||||
borderless: ::borderless::,
|
||||
|
||||
@@ -1614,6 +1614,8 @@ class CommandLineTools {
|
||||
|
||||
}
|
||||
|
||||
if (field == "window-allow-high-dpi") property = "allowHighDPI";
|
||||
|
||||
var fieldReference = Reflect.field (overrides, fieldName);
|
||||
|
||||
if (Reflect.hasField (fieldReference, property)) {
|
||||
|
||||
Reference in New Issue
Block a user