From 2094f153ffb9f029894e53cf2bed130e5efd8d2f Mon Sep 17 00:00:00 2001 From: Michael Kauzmann Date: Thu, 8 Jun 2023 12:03:21 -0600 Subject: [PATCH] remove dispose code in keyboard help, https://github.com/phetsims/scenery-phet/issues/810 Signed-off-by: Michael Kauzmann --- js/HomeScreenKeyboardHelpContent.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/js/HomeScreenKeyboardHelpContent.ts b/js/HomeScreenKeyboardHelpContent.ts index a95a3793..0d2de8be 100644 --- a/js/HomeScreenKeyboardHelpContent.ts +++ b/js/HomeScreenKeyboardHelpContent.ts @@ -10,22 +10,11 @@ import { Node } from '../../scenery/js/imports.js'; import joist from './joist.js'; class HomeScreenKeyboardHelpContent extends Node { - private readonly disposeHomeScreenKeyboardHelpContent: () => void; - public constructor() { const basicActionsKeyboardHelpSection = new BasicActionsKeyboardHelpSection(); super( { children: [ basicActionsKeyboardHelpSection ] } ); - - this.disposeHomeScreenKeyboardHelpContent = () => { - basicActionsKeyboardHelpSection.dispose(); - }; - } - - public override dispose(): void { - this.disposeHomeScreenKeyboardHelpContent(); - super.dispose(); } }