Nick Lockwood c16095ed85 Fixed border collapse bug
Summary:
public
The fix for border smearing introduced a bug where borders + background would sometimes not be rendered if the view was created at a small size (e.g. zero) and then resized.

This diff fixes that by redrawing the border if the view size changes. There is some opportunity to optimize this in future by performing some logic up-front to detect if the redrawing is necessary, but I thought I'd keep it simple for this bug fix rather than risk introducing further bugs.

Reviewed By: jingc

Differential Revision: D2817365

fb-gh-sync-id: eca164e8ce03a66598677c9e05496791230b5210
2016-01-08 16:15:32 -08:00
..
2016-01-07 12:03:17 -08:00
2016-01-06 11:00:34 -08:00
2016-01-06 11:00:34 -08:00
2015-12-08 03:32:30 -08:00
2015-12-08 03:32:30 -08:00
2015-12-08 03:32:30 -08:00
2015-06-03 09:49:35 -08:00
2015-03-26 02:42:24 -08:00
2015-12-08 03:32:30 -08:00
2015-12-08 03:32:30 -08:00
2015-12-08 03:32:30 -08:00
2016-01-08 16:15:32 -08:00