Skip to content

Commit

Permalink
fix UI tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Aug 3, 2024
1 parent afb8387 commit 6ba216b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/app/src/components/page-report.vue
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ onMounted(() => {
class="mcr-locate-switch"
icon="locate"
:class="state.locate==='Uncovered'?'mcr-locate-uncovered':''"
:tooltip="'Locate '+state.locate+' Range'"
tooltip="Switch Locating Between All Ranges or Uncovered Ranges"
@click="switchLocate()"
>
<span>{{ state.locate }}</span>
Expand Down Expand Up @@ -785,12 +785,13 @@ onMounted(() => {
<IconLabel
icon="location"
class="mcr-report-goto"
title="Jump to position"
@click="showGotoPopover"
>
Pos
</IconLabel>
<div v-if="data.cursor.original">
<span>{{ Util.NF(data.cursor.originalPosition) }}</span>
<span :tooltip="'Formatted: ' + Util.NF(data.cursor.position)">{{ Util.NF(data.cursor.originalPosition) }}</span>
</div>
</VuiFlex>
</VuiFlex>
Expand Down Expand Up @@ -934,6 +935,7 @@ onMounted(() => {
.mcr-cursor-foot {
span {
font-size: var(--font-monospace);
cursor: default;
}
}
Expand Down

0 comments on commit 6ba216b

Please sign in to comment.