Use separate for more tooltips

This commit is contained in:
andrewwallacespeckle
2025-07-31 21:11:04 +02:00
parent 1af26b4b66
commit ea28f21442
2 changed files with 12 additions and 5 deletions
@@ -77,14 +77,16 @@ const panels = shallowRef({
id: ActivePanel.measurements,
name: 'Measure',
icon: 'IconViewerMeasurements',
tooltip: getShortcutDisplayText(shortcuts.ToggleMeasurements),
tooltip: getShortcutDisplayText(shortcuts.ToggleMeasurements, {
format: 'separate'
}),
extraClasses: 'hidden md:flex'
},
[ActivePanel.sectionBox]: {
id: ActivePanel.sectionBox,
name: 'Section',
icon: 'IconViewerSectionBox',
tooltip: getShortcutDisplayText(shortcuts.ToggleSectionBox),
tooltip: getShortcutDisplayText(shortcuts.ToggleSectionBox, { format: 'separate' }),
extraClasses: ''
},
[ActivePanel.explode]: {
@@ -10,9 +10,14 @@
<ViewerControlsButtonGroup ref="buttonContainer" direction="vertical">
<ViewerControlsButtonToggle
v-tippy="
getTooltipProps(getShortcutDisplayText(shortcuts.ZoomExtentsOrSelection), {
placement: 'left'
})
getTooltipProps(
getShortcutDisplayText(shortcuts.ZoomExtentsOrSelection, {
format: 'separate'
}),
{
placement: 'left'
}
)
"
icon="IconViewerZoom"
@click="trackAndzoomExtentsOrSelection()"