-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX #46 to ensure that the width constraint is being applied with lab… #47
FIX #46 to ensure that the width constraint is being applied with lab… #47
Conversation
…pplied with labels that are correctly measured
…ulp-version-for-travis specify gulp@3.9.1 in travis config
hi @channeladam like with the other ones, when you have a moment, could you rebase this branch with master to bring in the fix for travis? full instructions here in case they are helpful 😄 #43 (comment) |
thanks for specifying the example to use to test this out, that is helpful! |
…pplied with labels that are correctly measured
…m/visjs-network into fix-label-measurement
// Set the canvas context font, based upon the current selected/hover state | ||
// and the provided mod, so the text measurement performed by getLongestFit | ||
// will be accurate - and not just use the font of whoever last used the canvas. | ||
this.parent.getFormattingValues(this.ctx, this.selected, this.hover, mod) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for including the code comments!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work!
💌 Thanks @channeladam for your contribution! |
FIX #46
See manual test html file /test/network/textMeasurementOnHoverTest.html