changeset 1951:e30164bc48fb

Mac: Set needsDisplay=YES after acquiring the cachedBitmapRep so it will redraw.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 11 Jul 2019 09:50:30 +0000
parents bb4eaf02cdaf
children 8ce5c562348f
files mac/dw.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mac/dw.m	Thu Jul 11 09:34:44 2019 +0000
+++ b/mac/dw.m	Thu Jul 11 09:50:30 2019 +0000
@@ -884,6 +884,7 @@
         cachedDrawingRep = [self bitmapImageRepForCachingDisplayInRect:self.bounds];
         [cachedDrawingRep retain];
     }
+    self.needsDisplay = YES;
     return cachedDrawingRep;
 }
 #endif