github/twui — pull request #27 by jspahrsummers (2012-07-25 06:58:54+00:00)
Title: Fix partial redrawing of views on retina displays

Previously, using `setNeedsDisplayInRect:` would result in the wrong rectangle being cleared (when `clearsContextBeforeDrawing` is `YES`), but the correct rectangle passed to `drawRect:`. This fixes the former case, so that the two rectangles now align.