Open ljdoig opened 1 year ago
Thanks for the report. My guess is that minifb needs to detect when the application enters fullscreen as I think it currently always includes the size of the titlebar currently.
This seems correct as I get the same behaviour with :
WindowOptions {
title: false,
..WindowOptions::default()
}
It seems the mouse coordinates are off when you go into fullscreen mode on macOS (Ventura 13.1). It gets it right for any resized window and for any scale_mode, except when I go fullscreen the mouse is not where it thinks. This doesn't seem to affect Windows users.
Fullscreen:
Non fullscreen (regardless of scale mode, aspect ratio or size)
code:
On a possibly unrelated note, should this work after resizing?
Thanks for your time