Skip to content

Commit

Permalink
switch sides for label tick marks, see #81
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Jan 17, 2025
1 parent ca70571 commit 003f869
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/photons/view/NormalizedOutcomeVectorGraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default class NormalizedOutcomeVectorGraph extends Node {
} );
const topTickMarkLabel = new Text( '+1', {
font: LABEL_FONT,
left: topTickMark.right + LABEL_SPACING,
right: topTickMark.left - LABEL_SPACING,
centerY: topTickMark.centerY
} );

Expand All @@ -56,7 +56,7 @@ export default class NormalizedOutcomeVectorGraph extends Node {
} );
const middleTickMarkLabel = new Text( '0', {
font: LABEL_FONT,
left: middleTickMark.right + LABEL_SPACING,
right: middleTickMark.left - LABEL_SPACING,
centerY: middleTickMark.centerY
} );

Expand All @@ -67,7 +67,7 @@ export default class NormalizedOutcomeVectorGraph extends Node {
} );
const bottomTickMarkLabel = new Text( '-1', {
font: LABEL_FONT,
left: bottomTickMark.right + LABEL_SPACING,
right: bottomTickMark.left - LABEL_SPACING,
centerY: bottomTickMark.centerY
} );

Expand Down

0 comments on commit 003f869

Please sign in to comment.