Skip to content
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

Merged
merged 5 commits into from
Jan 27, 2019

Conversation

channeladam
Copy link
Collaborator

FIX #46
See manual test html file /test/network/textMeasurementOnHoverTest.html

channeladam and others added 3 commits January 19, 2019 13:19
@micahstubbs
Copy link
Member

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)

@micahstubbs
Copy link
Member

thanks for specifying the example to use to test this out, that is helpful!

// 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)
Copy link
Member

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!

Copy link
Member

@micahstubbs micahstubbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work!

@mojoaxel
Copy link

💌 Thanks @channeladam for your contribution!
This pull-request has been merge into visjs/vis-network#27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants