-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ensure
renderer
and configuration
are set on sampleLayer
`didSet` doesn't get called in the initializer, so the sampleLayer wouldn't get the same info until it gets updated. Using defer here (to call didSet) as opposed to calling the code in didSet directly just because I feel it looks cleaner ¯\_(ツ)_/¯ fixes #58
- Loading branch information
1 parent
b3a955b
commit f46cf06
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters