Skip to content

Commit

Permalink
Have the thick black bars disappear whenever any gridlines are present,
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed May 4, 2020
1 parent 8582ff2 commit 6a61438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/free-objects/view/RatioHalf.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class RatioHalf extends Rectangle {

// hide framing border rectangles when the units are being displayed
gridViewProperty.link( gridView => {
topRect.visible = bottomRect.visible = !GridView.displayUnits( gridView );
topRect.visible = bottomRect.visible = gridView === GridView.NONE;
} );

// The draggable element inside the Node framed with thick rectangles on the top and bottom.
Expand Down

0 comments on commit 6a61438

Please sign in to comment.