Branch: refs/heads/unstable
Home: https://github.com/cytoscape/cytoscape.js
Commit: d5ff8a0152e10b2a615866a828d0a1f8d1ff66b2
https://github.com/cytoscape/cytoscape.js/commit/d5ff8a0152e10b2a615866a828d0a1f8d1ff66b2
Author: Max Franz <[email protected]>
Date: 2019-04-24 (Wed, 24 Apr 2019)
Changed paths:
M documentation/md/style.md
M src/extensions/renderer/base/coord-ele-math/labels.js
M src/extensions/renderer/canvas/drawing-label-text.js
M src/style/properties.js
Log Message:
-----------
Add support for `line-height` style property
- This property applies to all labels for an element, like most label
properties.
- Add implementation. The rendered label height is modified by the line
height, and the effective line height in pixels is stored such that the text
drawing functions can just read the stored value rather than try to dynamically
calculate the effective line height.
- Labels that don't have `text-wrap: wrap` set are unaffected by this change.
- Add documentation.
Ref : Add line-height to font styling #2115
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/cytoscape-cvs.
For more options, visit https://groups.google.com/d/optout.