-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scale annotations on change of time graph scale factor
- Add the scale factor to the constructor and as a field of a time graph annotation. Use this scale factor when rendering the annotation. - Rename scaleStateLabels() to scaleComponents() and make the method scale both state labels and annotations. This prevents annotations from being stretched or compressed on zoom. Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
- Loading branch information
1 parent
76c3b1c
commit 54cccd4
Showing
2 changed files
with
27 additions
and
6 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