Use '_svg' instead of '_ui' from the bundled svg classes

This commit is contained in:
Pieter Vander Vennet 2023-05-08 01:55:21 +02:00
parent 484906f08e
commit fa861bed5c
26 changed files with 116 additions and 95 deletions

View file

@ -28,7 +28,7 @@ export class DownloadPanel extends Toggle {
const metaisIncluded = includeMetaToggle.GetValue().map((selected) => selected.length > 0)
const buttonGeoJson = new SubtleButton(
Svg.floppy_ui(),
Svg.floppy_svg(),
new Combine([
t.downloadGeojson.SetClass("font-bold"),
t.downloadGeoJsonHelper,
@ -45,7 +45,7 @@ export class DownloadPanel extends Toggle {
})
const buttonCSV = new SubtleButton(
Svg.floppy_ui(),
Svg.floppy_svg(),
new Combine([t.downloadCSV.SetClass("font-bold"), t.downloadCSVHelper]).SetClass(
"flex flex-col"
)
@ -63,7 +63,7 @@ export class DownloadPanel extends Toggle {
})
const buttonSvg = new SubtleButton(
Svg.floppy_ui(),
Svg.floppy_svg(),
new Combine([t.downloadAsSvg.SetClass("font-bold"), t.downloadAsSvgHelper]).SetClass(
"flex flex-col"
)
@ -88,7 +88,7 @@ export class DownloadPanel extends Toggle {
})
const buttonPng = new SubtleButton(
Svg.floppy_ui(),
Svg.floppy_svg(),
new Combine([t.downloadAsPng.SetClass("font-bold"), t.downloadAsPngHelper])
).OnClickWithLoading(t.exporting, async () => {
const gpsLayer = state.layerState.filteredLayers.get(