Continue support for GUI rescaling under MacOS: fix test/resize() application - continued

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2017-12-27 07:48:52 +00:00
parent d6a0e4a010
commit c6045962db

View File

@ -3264,6 +3264,7 @@ void Fl_Cocoa_Window_Driver::resize(int X,int Y,int W,int H) {
return;
}
if ( (resize_from_system != pWindow) && shown()) {
float s = Fl::screen_driver()->scale(screen_num());
if (is_a_resize) {
if (pWindow->resizable()) {
int min_w = minw(), max_w = maxw(), min_h = minh(), max_h = maxh();