diff options
| author | Manolo Gouy <Manolo> | 2017-12-24 07:20:25 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-12-24 07:20:25 +0000 |
| commit | 8ee87d15e3c369d74752736a9c3e6614e2950cb0 (patch) | |
| tree | 977e7030608aea2389d670a57fa7746a24d69450 | |
| parent | e1893334fd1e2377635b6488945f730263b04fd9 (diff) | |
Continue support for GUI rescaling under MacOS: fix Fl_Cocoa_Window_Driver::capture_titlebar_and_borders()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12604 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 8cbf3aca9..380a984cc 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -4438,7 +4438,7 @@ void Fl_Cocoa_Window_Driver::capture_titlebar_and_borders(Fl_Shared_Image*& top, Fl_RGB_Image *top_rgb = new Fl_RGB_Image(rgba, 2 * scaled_w, 2 * htop, 4); top_rgb->alloc_array = 1; top = Fl_Shared_Image::get(top_rgb); - top->scale(w(),htop); + top->scale(w(),htop, s <1 ? 0 : 1, 1); CGContextRelease(auxgc); } |
