Skip to content

Commit

Permalink
remove old documentation, see #868
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Oct 10, 2022
1 parent da7433f commit 3b3e5b3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions js/preferences/PreferencesModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,8 @@ export default class PreferencesModel extends PhetioObject {
}

/**
* Returns true if this model supports any controllable preferences but MORE than basic sound. If enabling sound
* is the only preference then we don't want to let the user access the Preferences dialog because there is already
* a sound control in the navigation bar. The PreferencesDialog is not useful in that case.
* Returns true if this model supports any controllable preferences for the dialog. Returns false when the dialog
* would have nothing to display.
*/
public shouldShowDialog(): boolean {
return this.supportsSimulationPreferences() || this.supportsVisualPreferences() ||
Expand Down

0 comments on commit 3b3e5b3

Please sign in to comment.