ricky
fe61c3e3ab
[ASEnvironmentTraitCollection] Fixed bug where containerSize wasn't being saved
...
Summary:
The old assignment of `self.node.environmentTraitCollection.containerSize = windowSize;` doesn't because the struct creates a copy and then assigns `windowSize` to that copy.
Also realized that we need to create a new `ASEnvironmentTraitCollection` in `willTransitionToTraitCollection:withTransitionCoordinator`:. If we only update in `viewWillTransitionToSize:` we will only update the `containerSize` value in `self.environmentTraitCollection` as we don't have the new trait collection yet.
Differential Revision: https://phabricator.pinadmin.com/D101807
2016-07-08 15:00:50 -07:00
..
2016-07-08 12:50:32 -07:00
2016-06-21 14:49:47 -07:00
2016-07-08 11:18:04 -07:00
2016-07-08 10:51:07 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-30 07:30:57 -07:00
2016-06-18 12:54:55 -07:00
2016-06-18 12:54:55 -07:00
2016-06-11 23:31:39 -07:00
2016-07-02 10:27:52 -07:00
2016-07-02 10:27:52 -07:00
2016-06-11 23:31:39 -07:00
2016-06-27 11:05:53 -04:00
2016-07-08 12:50:32 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-07-08 12:42:50 -07:00
2016-06-11 23:31:39 -07:00
2016-06-30 19:45:29 -07:00
2016-06-11 23:31:39 -07:00
2016-06-27 11:29:28 +10:00
2016-06-24 16:53:10 -07:00
2016-06-24 16:53:10 -07:00
2016-06-11 23:31:39 -07:00
2016-06-19 18:52:32 -07:00
2016-06-21 13:11:38 -07:00
2016-06-20 20:18:44 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-16 18:18:43 -07:00
2016-06-11 23:31:39 -07:00
2016-07-07 11:13:18 -07:00
2016-06-11 23:31:39 -07:00
2016-07-01 16:02:58 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-07-01 09:39:36 -07:00
2016-07-01 09:42:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-07-07 11:13:18 -07:00
2016-07-02 10:27:52 -07:00
2016-07-02 10:27:52 -07:00
2016-06-26 23:09:53 -07:00
2016-07-08 11:36:43 -07:00
2016-06-24 11:12:37 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-28 20:18:30 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-07-02 08:30:38 -07:00
2016-07-01 15:15:10 +01:00
2016-07-01 15:15:10 +01:00
2016-07-07 09:23:37 -07:00
2016-07-08 15:00:50 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-22 15:37:00 -07:00
2016-07-04 16:34:16 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-07-04 16:34:16 -07:00
2016-07-04 16:34:16 -07:00