Changeset 12863
- Timestamp:
- Sep 14, 2011, 3:15:58 AM (12 years ago)
- Location:
- trunk/macosx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/FilterBarView.m
r12493 r12863 83 83 NSRectFillListWithColors(gridRects, colorRects, count); 84 84 85 [fGradient drawInRect: rect angle: 270.0]; 85 const NSRect gradientRect = NSMakeRect(NSMinX(rect), 1.0, NSWidth(rect), NSHeight([self bounds]) - 1.0 - 1.0); //proper gradient requires the full height of the bar 86 [fGradient drawInRect: gradientRect angle: 270.0]; 86 87 } 87 88 -
trunk/macosx/StatusBarView.m
r12493 r12863 101 101 102 102 if (active) 103 [fGradient drawInRect: rect angle: 270.0]; 103 { 104 const NSRect gradientRect = NSMakeRect(NSMinX(rect), 1.0, NSWidth(rect), NSHeight([self bounds]) - 1.0 - 1.0); //proper gradient requires the full height of the bar 105 [fGradient drawInRect: gradientRect angle: 270.0]; 106 } 104 107 else 105 108 {
Note: See TracChangeset
for help on using the changeset viewer.