Commits

Brandon Walkin  committed e677e45

Textured slider - Fixed bug where certain areas in the slider weren't clickable

  • Participants
  • Parent commits 6e11e5f

Comments (0)

Files changed (1)

File BWTexturedSlider.m

 
 - (NSView *)hitTest:(NSPoint)aPoint
 {
+	NSLog(@"index: %d",[self indicatorIndex]);
+	if ([self indicatorIndex] == 0)
+		return [super hitTest:aPoint];
+	
 	NSPoint convertedPoint = [self convertPoint:aPoint fromView:nil];
 	
 	if (NSPointInRect(convertedPoint, minButtonRect))