File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
apps/stage-tamagotchi/src/renderer/components/StageIslands/ControlsIsland Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ const startDraggingWindow = !isLinux ? defineInvoke(context.value, electronStart
3434// Expose whether hearing dialog is open so parent can disable click-through
3535const hearingDialogOpen = ref (false )
3636defineExpose ({ hearingDialogOpen })
37+
38+ function refreshWindow() {
39+ window .location .reload ()
40+ }
3741 </script >
3842
3943<template >
@@ -59,6 +63,16 @@ defineExpose({ hearingDialogOpen })
5963 </template >
6064 </ControlButtonTooltip >
6165
66+ <ControlButtonTooltip >
67+ <ControlButton @click =" refreshWindow" >
68+ <div i-solar:refresh-linear size-5 text =" neutral-800 dark:neutral-300" />
69+ </ControlButton >
70+
71+ <template #tooltip >
72+ Refresh
73+ </template >
74+ </ControlButtonTooltip >
75+
6276 <ControlButtonTooltip >
6377 <ControlsIslandHearingConfig v-model:show =" hearingDialogOpen" >
6478 <div class =" relative" >
You can’t perform that action at this time.
0 commit comments