1. Evadne Wu
  2. BWToolkit

Commits

eva...@tacitus.local  committed 4466515

Fixed erroneous fix again

  • Participants
  • Parent commits fecf38e
  • Branches default

Comments (0)

Files changed (1)

File BWStyledTextFieldCell.m

View file
 
 	float halfDeltaHeight = 0;
 //	float halfDeltaHeight = deltaHeight / 2;
+
+	float yOrigin = [[controlView superview] convertRect:[controlView frame] toView:nil].origin.y;
 	
-	float yOrigin = [[controlView superview] convertRect:[controlView frame] toView:[controlView superview]].origin.y;
+//	float yOrigin = [[controlView superview] convertRect:[controlView frame] toView:[controlView superview]].origin.y;
 
 	[[NSGraphicsContext currentContext] setPatternPhase:NSMakePoint(0, yOrigin + halfDeltaHeight)];