-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Description
After enter fullscreen and exit, sometimes aspect ratio is changed and window will only work correctly on fullscreen.
I've noticed this on Big Sur, apple m1, not sure if it is affect other builds too.
this only happens when my main window is created with dimensions exceeding or equaling screen size.
for example in this computer if my window width is 1439 it doesn't happen, if it is 1440 it start to happen.
vertical window size seems to influence but not sure how.
mouse coordinates are still good after the issue.
void ofApp::draw(){
ofSetColor(255,0,70);
ofDrawCircle(300, 300, 300);
}
bool fs = false;
void ofApp::keyPressed(int key){
if (key == 'f') {
fs ^=1;
ofSetFullscreen(fs);
}
}