-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix updating of layers list #251
Conversation
…n layer artists and not layer state we should be listening to the layer artist event.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it works. Thanks!
Codecov Report
@@ Coverage Diff @@
## master #251 +/- ##
==========================================
- Coverage 89.17% 89.15% -0.03%
==========================================
Files 82 82
Lines 4037 4037
==========================================
- Hits 3600 3599 -1
- Misses 437 438 +1
Continue to review full report at Codecov.
|
Turns out this fix is incomplete. It broke the "eye" icon from updating on blink. See #265 |
Alternative to #250 - we weren't connecting the callback in the right place, and were ending up in a state where the layers state had been updated but not layer artists. This uses private API but in glue-core so this is fine (though we should probably expose this publicly anyway).