MapComplete/UI/BigComponents/OpenBackgroundSelectorButton.svelte

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
420 B
Svelte
Raw Normal View History

2023-06-07 22:45:42 +02:00
<script lang="ts">
import { Square3Stack3dIcon } from "@babeard/svelte-heroicons/solid"
import MapControlButton from "../Base/MapControlButton.svelte"
import ThemeViewState from "../../Models/ThemeViewState"
2023-06-07 22:45:42 +02:00
export let state: ThemeViewState
2023-06-07 22:45:42 +02:00
</script>
<MapControlButton on:click={() => state.guistate.backgroundLayerSelectionIsOpened.setData(true)}>
<Square3Stack3dIcon class="w-6 h-6" />
2023-06-07 22:45:42 +02:00
</MapControlButton>