mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-01 02:41:42 +00:00
Adds a prettier log viewer, with the ability to filter logs. Also warns user and prevents switching into 3d mode if the resolution is uncalibrated.
27 lines
587 B
Vue
27 lines
587 B
Vue
<template>
|
|
<div>
|
|
<v-tooltip
|
|
:disabled="tooltip === undefined"
|
|
right
|
|
open-delay="600"
|
|
>
|
|
<template v-slot:activator="{ on, attrs }">
|
|
<span
|
|
style="cursor: text !important;"
|
|
class="white--text"
|
|
v-bind="attrs"
|
|
v-on="on"
|
|
>{{ text }}</span>
|
|
</template>
|
|
<span>{{ tooltip }}</span>
|
|
</v-tooltip>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'TooltippedLabel',
|
|
// eslint-disable-next-line vue/require-prop-types
|
|
props: ['text', 'tooltip'],
|
|
}
|
|
</script> |