Revision: 14213
http://sourceforge.net/p/skim-app/code/14213
Author: hofman
Date: 2024-04-16 14:35:53 +0000 (Tue, 16 Apr 2024)
Log Message:
-----------
make sure to redisplay when changing width
Modified Paths:
--------------
trunk/SKColorSwatch.m
Modified: trunk/SKColorSwatch.m
===================================================================
--- trunk/SKColorSwatch.m 2024-04-14 21:36:05 UTC (rev 14212)
+++ trunk/SKColorSwatch.m 2024-04-16 14:35:53 UTC (rev 14213)
@@ -887,6 +887,7 @@
- (void)setWidth:(CGFloat)width {
[[self cell] setWidth:width - BACKGROUND_WIDTH_OFFSET forSegment:0];
+ [self setNeedsDisplay:YES];
}
- (void)mouseDown:(NSEvent *)event {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit