mirror of
https://github.com/TextureGroup/Texture.git
synced 2026-04-07 19:17:39 +00:00
To preserve dynamic color capabilities for layer-backed nodes, we need to track backgroundColor as a UIColor. In layer backed nodes we lose the dynamic color logic since we extract a CGColor from the UIColor applied to ASDisplayNode. With this change we can respond to changes in UITraitCollection.userInterfaceStyle for backgroundColor.