Skip to content

Commit

Permalink
Add ?moreWires query string which increases number of wires to 50, see
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Feb 15, 2019
1 parent 9e6cbc0 commit 34f4f5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion js/intro/view/IntroScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ define( require => {
'use strict';

// modules
const CCKCConstants = require( 'CIRCUIT_CONSTRUCTION_KIT_COMMON/CCKCConstants' );
const CCKCScreenView = require( 'CIRCUIT_CONSTRUCTION_KIT_COMMON/view/CCKCScreenView' );
const circuitConstructionKitDc = require( 'CIRCUIT_CONSTRUCTION_KIT_DC/circuitConstructionKitDc' );
const CircuitElementToolFactory = require( 'CIRCUIT_CONSTRUCTION_KIT_COMMON/view/CircuitElementToolFactory' );
Expand All @@ -24,7 +25,7 @@ define( require => {
const circuitElementToolFactory = new CircuitElementToolFactory( model.circuit, model.showLabelsProperty, model.viewTypeProperty,
point => this.circuitLayerNode.globalToLocalPoint( point ) );

const wireToolNode = circuitElementToolFactory.createWireToolNode( 25, tandem.createTandem( 'wireToolNode' ) );
const wireToolNode = circuitElementToolFactory.createWireToolNode( CCKCConstants.NUMBER_OF_WIRES, tandem.createTandem( 'wireToolNode' ) );

// Tool nodes that appear on every screen. Pagination for the carousel, each page should begin with wire node
const circuitElementToolNodes = [
Expand Down
3 changes: 2 additions & 1 deletion js/lab/view/LabScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ define( require => {
'use strict';

// modules
const CCKCConstants = require( 'CIRCUIT_CONSTRUCTION_KIT_COMMON/CCKCConstants' );
const CCKCScreenView = require( 'CIRCUIT_CONSTRUCTION_KIT_COMMON/view/CCKCScreenView' );
const circuitConstructionKitDc = require( 'CIRCUIT_CONSTRUCTION_KIT_DC/circuitConstructionKitDc' );
const CircuitElementToolFactory = require( 'CIRCUIT_CONSTRUCTION_KIT_COMMON/view/CircuitElementToolFactory' );
Expand All @@ -26,7 +27,7 @@ define( require => {
point => this.circuitLayerNode.globalToLocalPoint( point )
);

const wireToolNode = circuitElementToolFactory.createWireToolNode( 25 );
const wireToolNode = circuitElementToolFactory.createWireToolNode( CCKCConstants.NUMBER_OF_WIRES );

// Tool nodes that appear on every screen. Pagination for the carousel, each page should begin with wire node
const circuitElementToolNodes = [
Expand Down

0 comments on commit 34f4f5d

Please sign in to comment.