# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1308971800 0 # Node ID 53fc692279fc74efc86afe03e63c755fbb111b7c # Parent 659b3c6a8959eb0becaf61565435b91a577c3ab4 Bitmap widgets shouldn't scale down images when the widget is smaller than the image on Mac. It should clip the image to be consistent with the other platforms. diff -r 659b3c6a8959 -r 53fc692279fc mac/dw.m --- a/mac/dw.m Sat Jun 25 03:15:29 2011 +0000 +++ b/mac/dw.m Sat Jun 25 03:16:40 2011 +0000 @@ -6086,6 +6086,7 @@ DW_MUTEX_LOCK; NSImageView *bitmap = [[NSImageView alloc] init]; [bitmap setImageFrameStyle:NSImageFrameNone]; + [bitmap setImageScaling:NSScaleNone]; [bitmap setEditable:NO]; [bitmap setTag:cid]; DW_MUTEX_UNLOCK;