So I've been doing tests of viewports between two computers, one is 1366x768 (on left) and the other 1920x1080 (on right), the game start resolution is 854x480, letterbox scale integer, NWjs V0.47,
however I have 2 different results :
Top text is browser inner width/height and the one below is NWJS width/height;
The size is correct on the smaller screen, but on the bigger one, if sized to 854x480, the windows is larger than the game viewport and creates large black borders, I had to resize it to the dimensions on the picture to obtain the same visual dimensions (one pixel before the letterbox down scaling);
The un-resized NWjs window on the HD screen is equal to 1074x640, which is way bigger than the intended 854x480;
Is it how NWjs handle different screen sizes/res, or is it a know bug? Thanks for your time