Skip to content

Commit 430b355

Browse files
Fix plot not repainting on preserveAspectRatio change
1 parent fbf1006 commit 430b355

File tree

1 file changed

+1
-1
lines changed
  • lets-plot-compose/src/desktopMain/kotlin/org/jetbrains/letsPlot/skia/compose

1 file changed

+1
-1
lines changed

lets-plot-compose/src/desktopMain/kotlin/org/jetbrains/letsPlot/skia/compose/PlotPanelRaw.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ actual fun PlotPanelRaw(
114114
)
115115
} else {
116116
// Render the plot
117-
LaunchedEffect(panelSize, processedPlotSpec, specOverrideList) {
117+
LaunchedEffect(panelSize, processedPlotSpec, specOverrideList, preserveAspectRatio) {
118118

119119
if (PlotConfig.isFailure(processedPlotSpec)) {
120120
errorMessage = PlotConfig.getErrorMessage(processedPlotSpec)

0 commit comments

Comments
 (0)