From 4b9098bb6f49e6a78ca74745e2316534f93b4736 Mon Sep 17 00:00:00 2001 From: Matthew Blackman Date: Fri, 17 Feb 2023 07:55:19 -0500 Subject: [PATCH] Refactor guards for creating screen-specific groups for circuit elements - see https://github.com/phetsims/circuit-construction-kit-common/issues/900 --- js/lab/view/LabScreenView.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/lab/view/LabScreenView.ts b/js/lab/view/LabScreenView.ts index 9ddf893..ae17250 100644 --- a/js/lab/view/LabScreenView.ts +++ b/js/lab/view/LabScreenView.ts @@ -31,7 +31,7 @@ class LabScreenView extends CCKCScreenView { createNode: ( tandem: Tandem ) => { return circuitElementToolFactory.createLightBulbToolNode( tandem, - model.circuit.realLightBulbGroup, + model.circuit.realLightBulbGroup!, CircuitConstructionKitCommonStrings.realBulbStringProperty, true, model.addRealBulbsProperty