mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-05-27 03:41:47 +00:00
13b342868f
This resolves the situation where the device pixels per css px does not match the screen DPI. In that case, the restored width and height would be adjusted if the window width (css px) would be larger than the screen width (dev pixels). This patch converts everything to css px before checking if the dimensions fit the screen. This resolves #411.