Huy Nguyen
b01fac35b6
[ASDisplayNode+Layout] Ensure a pending layout is applied once ( #695 )
...
Before:
- Even if a pending layout was applied before, it'll be unnecessarily applied again in next layout passes and cause `-calculatedLayoutDidChange` being called multiple times.
After:
- If a pending layout was applied, the calculated layout will not be ignored but reused, if possible, in next layout passes.
Test plan: testSetNeedsLayoutAndNormalLayoutPass in #424 .
2017-12-01 13:11:17 +00:00
..
2017-11-30 12:25:06 +00:00
2017-04-24 16:59:57 -07:00
2017-11-30 12:25:06 +00:00
2017-11-24 13:45:59 +00:00
2017-11-30 12:25:06 +00:00
2017-10-17 14:20:20 +01:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-10-17 14:18:23 +01:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-08-10 16:11:12 -07:00
2017-08-10 16:11:12 -07:00
2017-10-17 14:18:23 +01:00
2017-10-09 17:19:46 +01:00
2017-10-09 17:19:46 +01:00
2017-10-17 14:18:23 +01:00
2017-11-30 12:25:06 +00:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-11-30 12:25:06 +00:00
2017-11-02 10:45:34 -07:00
2017-10-17 14:18:23 +01:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-12-01 13:11:17 +00:00
2017-09-08 18:04:43 +01:00
2017-11-21 13:34:21 +00:00
2017-11-02 10:45:34 -07:00
2017-11-02 10:45:34 -07:00
2017-08-28 19:49:41 +01:00
2017-10-17 14:20:20 +01:00
2017-06-02 16:13:36 -07:00
2017-11-02 10:45:34 -07:00
2017-11-30 12:25:06 +00:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-11-02 10:45:34 -07:00
2017-04-24 16:59:57 -07:00
2017-07-03 19:03:26 -07:00
2017-10-25 15:57:30 -07:00
2017-10-25 15:57:30 -07:00
2017-07-27 01:07:53 -07:00
2017-07-27 01:07:53 -07:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-09-07 19:25:42 +01:00
2017-09-11 19:20:32 +01:00
2017-07-18 10:08:12 +00:00
2017-05-02 14:09:12 -07:00
2017-11-02 10:45:34 -07:00
2017-11-02 10:45:34 -07:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-04-26 13:04:03 -07:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-07-03 19:03:26 -07:00
2017-10-17 14:18:23 +01:00
2017-09-11 19:20:32 +01:00
2017-05-17 13:26:30 +01:00
2017-10-17 14:18:23 +01:00
2017-11-03 16:24:48 -07:00
2017-05-02 14:09:12 -07:00
2017-04-24 16:59:57 -07:00
2017-07-02 21:40:51 -07:00
2017-09-22 11:53:41 +01:00
2017-07-02 21:40:51 -07:00
2017-11-30 12:25:06 +00:00
2017-07-02 21:40:51 -07:00
2017-05-11 12:23:12 +01:00
2017-10-06 15:04:36 +01:00
2017-09-07 19:25:42 +01:00
2017-09-07 19:25:42 +01:00
2017-09-07 19:25:42 +01:00
2017-11-02 10:45:34 -07:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-11-24 13:45:59 +00:00
2017-04-04 14:37:45 -07:00
2017-04-26 13:04:03 -07:00
2017-04-26 13:04:03 -07:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-02-26 18:14:13 -08:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00
2017-04-24 16:59:57 -07:00