Skip to content

Commit

Permalink
Omit capacitors, inductors and AC sources from DC tandem tree, see ph…
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jan 28, 2022
1 parent 8e7b0ca commit 4ce97bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/ac-voltage/ACVoltageScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ACVoltageScreen extends Screen {
};

super(
() => new CircuitConstructionKitModel( tandem.createTandem( 'model' ) ),
() => new CircuitConstructionKitModel( true, tandem.createTandem( 'model' ) ),
model => new ACVoltageScreenView( model, tandem.createTandem( 'view' ) ),
options
);
Expand Down
2 changes: 1 addition & 1 deletion js/lab/LabScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class LabScreen extends Screen {
}, options );

super(
() => new CircuitConstructionKitModel( tandem.createTandem( 'model' ) ),
() => new CircuitConstructionKitModel( true, tandem.createTandem( 'model' ) ),
model => new LabScreenView( model, tandem.createTandem( 'view' ), options.labScreenViewOptions ),
options
);
Expand Down
2 changes: 1 addition & 1 deletion js/rlc/RLCScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class RLCScreen extends Screen {
};

super(
() => new CircuitConstructionKitModel( tandem.createTandem( 'model' ) ),
() => new CircuitConstructionKitModel( true, tandem.createTandem( 'model' ) ),
model => new RLCScreenView( model, tandem.createTandem( 'view' ) ),
options
);
Expand Down

0 comments on commit 4ce97bc

Please sign in to comment.