Skip to content

Commit aa3219f

Browse files
committed
fix ambiguous menu state wording - normalize displaying the current state and not what it will do if pressed
1 parent e6d0daf commit aa3219f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/view/components/TogglePanels.svelte

+3-3
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
href="void(0)"
9090
class="toggle-visibility"
9191
class:hidden={!panel.visible}
92-
title="Toggle panel visibility: visible/hidden"
92+
title="Toggle panel visibility"
9393
onclick={(e) => {
9494
e.preventDefault();
9595
onTogglePanelVisibility(index);
@@ -101,10 +101,10 @@
101101
<td>
102102
<button
103103
class="btn-toggle"
104-
title="Toggle function wrapping state: wrap/unwrap"
104+
title="wrap/unwrap function to start/stop collect it's metrics"
105105
onclick={() => void onTogglePanelWrap(index)}
106106
>
107-
{`${panel.wrap ? 'unwrap' : 'wrap'}`}
107+
{`${panel.wrap ? 'wrapped' : 'unwrapped'}`}
108108
</button>
109109
</td>
110110
{/if}

0 commit comments

Comments
 (0)