This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parameterize style/className retrieval in
MarkerTextDecorationLayer
With the previous design it started to feel like we were adding unnecessary indirection to add a marker text decoration layer. With this commit we are taking a step back: `addMarkerTextDecorationLayer` got deleted and the `MarkerTextDecorationLayer` constructor was exposed instead. This allows to pass parameters to `MarkerTextDecorationLayer`, which will stop being in charge of storing and retrieving class names and inline styles associated to a scope id, leaving that decision up to the caller.
- Loading branch information
Antonio Scandurra
committed
May 2, 2017
1 parent
494b04b
commit c869372
Showing
5 changed files
with
42 additions
and
98 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
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
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
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
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