Commits

Anonymous committed 4ce78c9

Textured Slider - Fixed issue where the knob wouldn't draw a focus ring

Comments (0)

Files changed (1)

BWTexturedSlider.m

  	[self sendAction:[self action] to:[self target]];
 }
 
+- (BOOL)becomeFirstResponder
+{
+	[[self cell] setShowsFirstResponder:YES];
+	
+	return [super becomeFirstResponder];
+}
+
+- (BOOL)resignFirstResponder
+{
+	[[self cell] setShowsFirstResponder:NO];
+	
+	return [super resignFirstResponder];
+}
+
 - (void)dealloc
 {
 	[minButton release];