forked from MapComplete/MapComplete
Refactoring: fix most of the custom input elements, support right click/long tap/double click to add a new element
This commit is contained in:
parent
b0052d3a36
commit
1123a72c5e
25 changed files with 390 additions and 531 deletions
12
UI/InputElement/Helpers/ColorInput.svelte
Normal file
12
UI/InputElement/Helpers/ColorInput.svelte
Normal file
|
@ -0,0 +1,12 @@
|
|||
<script lang="ts">
|
||||
/**
|
||||
* Simple wrapper around the HTML-color field.
|
||||
*/
|
||||
import { UIEventSource } from "../../../Logic/UIEventSource";
|
||||
|
||||
export let value: UIEventSource<undefined | string>;
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<input bind:value={$value} type="color">
|
Loading…
Add table
Add a link
Reference in a new issue