Canvas: Fix infinite panning editor description (#87582)

This commit is contained in:
Nathan Marrs
2024-05-09 16:13:42 -06:00
committed by GitHub
parent dfdf119f7f
commit eae2ce38e8

View File

@@ -43,7 +43,7 @@ export const addStandardCanvasEditorOptions = (builder: PanelOptionsEditorBuilde
path: 'infinitePan', path: 'infinitePan',
name: 'Infinite panning', name: 'Infinite panning',
description: description:
'Enable infinite panning - useful for expansive canvases. Warning: this an experimental feature and currently only works well with elements that are top / left constrained', 'Enable infinite panning - useful for expansive canvases. Warning: this is an experimental feature and currently only works well with elements that are top / left constrained',
defaultValue: false, defaultValue: false,
showIf: (opts) => config.featureToggles.canvasPanelPanZoom && opts.panZoom, showIf: (opts) => config.featureToggles.canvasPanelPanZoom && opts.panZoom,
}); });