diff options
| author | Manolo Gouy <Manolo> | 2017-12-27 07:48:52 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-12-27 07:48:52 +0000 |
| commit | c6045962dba33eb86e13bc416fa76a7a21b93be5 (patch) | |
| tree | 3425bb5b35f4b1d140d75218808bc4cda648f580 /src | |
| parent | d6a0e4a0104170b8630389b475c155168d819188 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 95bf05f70..64363af41 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -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(); |
