Improve trail planning: option to re-order route anchors (#1007)
* trail anchor list added * add search location card to extend route endpoint in drawing mode * add POI popup endpoint action in route drawing mode * fix anchor stats, improve anchor list entries and refine route marker behavior * fix map marker spinner * docs updated * fix spinner when delete an anchor * further improvements * fix adding first anchor from POI * optimize drag handle area --------- Co-authored-by: Flomp <Flomp@users.noreply.github.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
value: any;
|
||||
icon?: string;
|
||||
separator?: boolean;
|
||||
danger?: boolean;
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -138,6 +139,8 @@
|
||||
{:else}
|
||||
<li
|
||||
class="menu-item flex items-center px-4 py-3 cursor-pointer hover:bg-menu-item-background-hover focus:bg-menu-item-background-focus transition-colors"
|
||||
class:hover:text-red-500={item.danger}
|
||||
class:focus:text-red-500={item.danger}
|
||||
role="presentation"
|
||||
onclick={(e) => handleItemClick(e, item as { text: string; value: any })}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user