Justin Spahr-Summers bcd2ef5dfc Improve RCTImageView resizing logic
Summary: @​public

It's less important to reload for downscaling than upscaling, so increase the threshold in that direction. Also, this now considers each dimension separately, and a big enough change either way should result in a reload.

Finally, this considers both the current image size and the inflight target size, so we don't reload if either is already good.

Reviewed By: @tadeuzagallo

Differential Revision: D2470911
2015-09-23 07:32:30 -07:00
..
2015-09-22 10:46:26 -07:00
2015-07-24 08:41:58 -08:00
2015-09-22 11:58:37 -07:00
2015-08-06 15:49:35 -08:00
2015-09-22 10:46:26 -07:00
2015-03-25 11:09:54 -08:00
2015-09-23 07:32:30 -07:00
2015-09-22 10:46:26 -07:00
2015-09-08 03:34:33 -08:00
2015-09-22 10:46:26 -07:00
2015-09-22 17:33:28 -07:00
2015-09-17 17:20:45 -07:00
2015-09-17 17:20:45 -07:00
2015-09-17 17:20:45 -07:00
2015-07-24 08:41:58 -08:00
2015-09-17 17:20:45 -07:00
2015-07-24 08:41:58 -08:00
2015-04-15 06:06:29 -08:00