mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 09:35:36 -05:00
fix bug that doesn't register double click enabled on new notebook contexts (#12239)
This commit is contained in:
@@ -107,6 +107,7 @@ export class TextCellComponent extends CellView implements OnInit, OnChanges {
|
||||
super();
|
||||
this.setTurndownOptions();
|
||||
this.markdownRenderer = this._instantiationService.createInstance(NotebookMarkdownRenderer);
|
||||
this.doubleClickEditEnabled = this._configurationService.getValue('notebook.enableDoubleClickEdit');
|
||||
this._register(toDisposable(() => {
|
||||
if (this.markdownResult) {
|
||||
this.markdownResult.dispose();
|
||||
|
||||
@@ -113,6 +113,7 @@ export class NotebookComponent extends AngularDisposable implements OnInit, OnDe
|
||||
super();
|
||||
this.updateProfile();
|
||||
this.isLoading = true;
|
||||
this.doubleClickEditEnabled = this._configurationService.getValue('notebook.enableDoubleClickEdit');
|
||||
this._register(this._configurationService.onDidChangeConfiguration(e => {
|
||||
this.previewFeaturesEnabled = this._configurationService.getValue('workbench.enablePreviewFeatures');
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user