@@ -57,6 +57,7 @@ export class DeckManager implements IDeckManager {
5757 protected _layover : Layover | null = null ;
5858 protected _activePresenter : IPresenter < Widget > | null = null ;
5959 protected _activeWidgetStack : Widget [ ] = [ ] ;
60+ protected _showCodeCellPrompt : boolean = false ;
6061
6162 constructor ( options : DeckManager . IOptions ) {
6263 this . _appStarted = options . appStarted ;
@@ -107,6 +108,10 @@ export class DeckManager implements IDeckManager {
107108 return this . _layoverChanged ;
108109 }
109110
111+ public get showCodeCellPrompt ( ) : boolean {
112+ return this . _showCodeCellPrompt
113+ }
114+
110115 /**
111116 * translate a string by message id (usually the en-US string), potentially
112117 * with positional arguments, starting with %1.
@@ -525,6 +530,12 @@ export class DeckManager implements IDeckManager {
525530 composite = settings . composite as IDeckSettings ;
526531 const active = composite . active === true ;
527532
533+ const showCodeCellPrompt = composite . showCodeCellPrompt === true ;
534+ if ( showCodeCellPrompt !== this . _showCodeCellPrompt ) {
535+ this . _showCodeCellPrompt = showCodeCellPrompt ;
536+ void this . _addDeckStyles ( ) ;
537+ }
538+
528539 if ( active && ! this . _active ) {
529540 void this . start ( ) ;
530541 } else if ( ! active && this . _active ) {
0 commit comments