Skip to content

Commit

Permalink
fix for new problem in guess box, #117
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Feb 18, 2019
1 parent e7320fa commit 49927a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions js/pointslope/view/PointSlopeEquationNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ define( function( require ) {
self.children[ i ].visible = false;
self.children[ i ].x = 0;
}
slopeUndefinedNode.text = ''; // workaround for #117

if ( line.undefinedSlope() && !interactive ) {
// slope is undefined and nothing is interactive
Expand Down
1 change: 1 addition & 0 deletions js/slopeintercept/view/SlopeInterceptEquationNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ define( function( require ) {
self.children[ i ].visible = false;
self.children[ i ].x = 0;
}
slopeUndefinedNode.text = ''; // workaround for #117

if ( line.undefinedSlope() && !interactive ) {
// slope is undefined and nothing is interactive
Expand Down

0 comments on commit 49927a9

Please sign in to comment.