File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/vs/workbench/contrib/positronPlots/browser Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -771,7 +771,6 @@ export class PositronPlotsService extends Disposable implements IPositronPlotsSe
771
771
* @param fireEvents Whether to fire events for this plot client.
772
772
*/
773
773
private registerPlotClient ( plotClient : PlotClientInstance , fireEvents : boolean ) {
774
-
775
774
// Add to our list of plots
776
775
this . _plots . push ( plotClient ) ;
777
776
@@ -820,6 +819,10 @@ export class PositronPlotsService extends Disposable implements IPositronPlotsSe
820
819
plotClient . register ( plotClient . onDidShowPlot ( ( ) => {
821
820
selectPlot ( ) ;
822
821
} ) ) ;
822
+
823
+ plotClient . register ( plotClient . onDidChangeSizingPolicy ( ( policy ) => {
824
+ this . selectSizingPolicy ( policy . id ) ;
825
+ } ) ) ;
823
826
}
824
827
825
828
/**
You can’t perform that action at this time.
0 commit comments