From eb6868e1c94a1b23d6441832d19731ec6ac3b97f Mon Sep 17 00:00:00 2001 From: Jan Steinke Date: Fri, 12 Jan 2024 12:23:50 +0100 Subject: [PATCH] respect startY flag --- gen/grafonnet-v10.2.0/custom/util/grid.libsonnet | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gen/grafonnet-v10.2.0/custom/util/grid.libsonnet b/gen/grafonnet-v10.2.0/custom/util/grid.libsonnet index fabbcda2..90a7ec8b 100644 --- a/gen/grafonnet-v10.2.0/custom/util/grid.libsonnet +++ b/gen/grafonnet-v10.2.0/custom/util/grid.libsonnet @@ -73,7 +73,9 @@ local panelUtil = import './panel.libsonnet'; local uncollapsed = panelUtil.resolveCollapsedFlagOnRows(panelsBeforeRowsWithX + rowPanelsWithX); - panelUtil.normalizeY(uncollapsed), + local normalized = panelUtil.normalizeY(uncollapsed); + + std.map(function(p) p + { gridPos+: { y+: startY } }, normalized), '#wrapPanels':: d.func.new( |||