Closed matteblair closed 7 years ago
How does Tangram know that highlight
is a line style then? Do we need to add highlight
as a new style in the styles
section?
I verified that the yellow highlights still draw using this branch, but am confused why that is. Leaving open until I get the 411 from @matteblair.
highlight
is declared as a style with base: lines
in the main scene file: https://github.com/tangrams/walkabout-style/blob/gh-pages/walkabout-style.yaml#L875-L876
Any more questions on this?
No questions, per say. For an include I’d rather have the styles not refer to something in the base scene file so there aren’t gotchas, so I need to think about that a bit.
On Mon, Mar 27, 2017 at 9:08 AM, Matt Blair notifications@github.com wrote:
Any more questions on this?
— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/tangrams/walkabout-style/pull/155#issuecomment-289501737, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0EO9ESvvJuWVVnOIdqtQq6cZ1DHGRHks5rp98UgaJpZM4Mb7z2 .
That's a good thought.
But just to be clear, the lines removed here aren't extra, redundant specifiers of the style - they specify nothing at all. These wouldn't address the 'gotcha' that you're describing.
Rebased against gh-pages. This still seems like a sensible clean-up.
Fixed in 190249aa6c109c2f7584ecc0b7c413847cb45243 instead.
'base' applies to styles, but not draw rules.