Fix an issue with GraphTool interval arrows at infinity disappearing. - #1539
Merged
pstaabp merged 1 commit intoSep 21, 2026
Merged
Conversation
This is caused by a change in how JSXGraph sets opacity for arrow heads for version 1.13. It sets the opacity using the opacity of the line the arrow head is attached to, and reasserts this setting after creation. Since the line for the points at infinity is always completely transparent, and so this makes the arrows transparent as well, since the interval tool setting of the `fill` attribute is overridden. To fix this the fill is set via an inline style instead which overrides the JSXGraph attribute and so it doesn't matter what JSXGraph internally sets its attribute to.
pstaabp
added a commit
that referenced
this pull request
Sep 21, 2026
…nf-point-hotfix Fix an issue with GraphTool interval arrows at infinity disappearing. (hotfix of #1539)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is caused by a change in how JSXGraph sets opacity for arrow heads for version 1.13. It sets the opacity using the opacity of the line the arrow head is attached to, and reasserts this setting after creation. Since the line for the points at infinity is always completely transparent, and so this makes the arrows transparent as well, since the interval tool setting of the
fillattribute is overridden. To fix this the fill is set via an inline style instead which overrides the JSXGraph attribute and so it doesn't matter what JSXGraph internally sets its attribute to.To test this you can use the following problem:
Graph a bounded interval, and then once it is graphed move an end point to infinity (the end of the board) using either the mouse or the keyboard. Instead of it becoming an arrow, it disappears. Hovering the mouse over it, or using the arrow key again makes it appear, but it shouldn't disappear at all.