diff --git a/website/src/lib/components/ButtonWithTooltip.svelte b/website/src/lib/components/ButtonWithTooltip.svelte new file mode 100644 index 00000000..55e49d6a --- /dev/null +++ b/website/src/lib/components/ButtonWithTooltip.svelte @@ -0,0 +1,26 @@ + + + + + + + + {label} + + diff --git a/website/src/lib/components/toolbar/tools/routing/Routing.svelte b/website/src/lib/components/toolbar/tools/routing/Routing.svelte index 4d59d7ba..5e581a4b 100644 --- a/website/src/lib/components/toolbar/tools/routing/Routing.svelte +++ b/website/src/lib/components/toolbar/tools/routing/Routing.svelte @@ -4,6 +4,7 @@ import { Label } from '$lib/components/ui/label/index.js'; import { Button } from '$lib/components/ui/button'; import Help from '$lib/components/Help.svelte'; + import ButtonWithTooltip from '$lib/components/ButtonWithTooltip.svelte'; import Tooltip from '$lib/components/Tooltip.svelte'; import Shortcut from '$lib/components/Shortcut.svelte'; import { @@ -105,7 +106,7 @@ }); -{#if minimized} +{#if minimizable && minimized}
- - - - - - - + } + }} + > + {$_('toolbar.routing.route_back_to_start.button')} + + + {$_('toolbar.routing.round_trip.button')} +