Skip to content

Commit

Permalink
TODOs for #22
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jan 12, 2021
1 parent 55afd48 commit 679b2e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/SpanNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ class SpanNode extends LayoutBox {
this.viewWidth = viewWidth;

//TODO https://github.com/phetsims/bamboo/issues/21 support Orientation.VERTICAL
//TODO https://github.com/phetsims/bamboo/issues/19 parameterize length of lines at ends of arrow
//TODO https://github.com/phetsims/bamboo/issues/19 parameterize ArrowNode options
//TODO https://github.com/phetsims/bamboo/issues/22 parameterize length of lines at ends of arrow
// Create double-headed arrow with bars at to show modelDelta
const createBar = centerX => new Line( 0, 0, 0, 6, { stroke: this.color, centerX: centerX } );
const leftBar = createBar( 0 );
const rightBar = createBar( viewWidth );
//TODO https://github.com/phetsims/bamboo/issues/22 parameterize ArrowNode options
const arrowNode = new ArrowNode( leftBar.right + 1, leftBar.centerY, rightBar.left - 1, rightBar.centerY, {
fill: this.color,
stroke: this.color,
Expand Down

0 comments on commit 679b2e9

Please sign in to comment.