spx icon indicating copy to clipboard operation
spx copied to clipboard

Incorrect window size for high device pixel ratio

Open nighca opened this issue 2 months ago • 0 comments

Run spx v2.0.0-pre.27 on device with DPR: 2, command:

./spx/go/bin/spx run --goenv=/Users/nighca/code/goplus/builder/spx-gui-desktop/spx --path=/Users/nighca/code/goplus/builder/spx-gui-desktop/project

The window size is half of the value specified by field run in assets/index.json.

Example project:

project.zip

Image

Expected window size for example project: 480x360, while got (roughly) 240x180.

nighca avatar Oct 20 '25 08:10 nighca