-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for linear and constant point scaling via a new pro…
…perty called `pointScaleMode` (#195) * feat: add support for linear and constant point scaling via a new property called `pointScaleMode` (#194) * add pointScaleMode: proportional scales points proportional to zoom, constant keeps point size constant, default keeps the current smart scaling strategy * keep default mode to default; formatting --------- Co-authored-by: basta <[email protected]> * fix: remove nonsense * refactor: ensure `getPointScale()` runs as fast as possible * docs: update changelog * docs: document and type `pointScaleMode` * chore: revert accidentally removed comma * fix: allow changing scale mode interactively * test: add a test for point scale mode --------- Co-authored-by: abast <[email protected]> Co-authored-by: basta <[email protected]>
- Loading branch information
1 parent
cc1d07c
commit 11e3538
Showing
6 changed files
with
134 additions
and
4 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
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