Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/geolibre-desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"maplibre-gl": "^5.24.0",
"maplibre-gl-3d-tiles": "^0.5.3",
"maplibre-gl-basemap-control": "^0.9.0",
"maplibre-gl-components": "^0.25.1",
"maplibre-gl-components": "^0.25.2",
"maplibre-gl-duckdb": "^0.2.3",
"maplibre-gl-earth-engine": "^0.4.2",
"maplibre-gl-enviroatlas": "^0.1.1",
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"maplibre-gl": "^5.24.0",
"maplibre-gl-3d-tiles": "^0.5.3",
"maplibre-gl-basemap-control": "^0.9.0",
"maplibre-gl-components": "^0.25.1",
"maplibre-gl-components": "^0.25.2",
"maplibre-gl-duckdb": "^0.2.3",
"maplibre-gl-earth-engine": "^0.4.2",
"maplibre-gl-enviroatlas": "^0.1.1",
Expand Down
3 changes: 3 additions & 0 deletions packages/plugins/src/plugins/maplibre-components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,7 @@ interface ComponentColorbarGuiState extends ComponentColorbarGuiEntryState {
hasColorbar: boolean;
selectedColorbarIndex: number;
colorbars: ComponentColorbarGuiEntryState[];
stackOrientation: "horizontal" | "vertical";
}

interface ComponentLegendItem {
Expand Down Expand Up @@ -1452,6 +1453,8 @@ function normalizeColorbarState(
hasColorbar: colorbars.length > 0,
selectedColorbarIndex,
colorbars,
stackOrientation:
candidate.stackOrientation === "horizontal" ? "horizontal" : "vertical",
Comment thread
giswqs marked this conversation as resolved.
Comment thread
giswqs marked this conversation as resolved.
};
}

Expand Down
Loading