We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b20cdb8 commit b870c38Copy full SHA for b870c38
src/vs/workbench/contrib/positronPlots/browser/positronPlotsService.ts
@@ -771,7 +771,6 @@ export class PositronPlotsService extends Disposable implements IPositronPlotsSe
771
* @param fireEvents Whether to fire events for this plot client.
772
*/
773
private registerPlotClient(plotClient: PlotClientInstance, fireEvents: boolean) {
774
-
775
// Add to our list of plots
776
this._plots.push(plotClient);
777
@@ -820,6 +819,10 @@ export class PositronPlotsService extends Disposable implements IPositronPlotsSe
820
819
plotClient.register(plotClient.onDidShowPlot(() => {
821
selectPlot();
822
}));
+
823
+ plotClient.register(plotClient.onDidChangeSizingPolicy((policy) => {
824
+ this.selectSizingPolicy(policy.id);
825
+ }));
826
}
827
828
/**
0 commit comments