Skip to content

Commit 4da91c9

Browse files
frontend: widget: Remove unused SonarMask
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent 2e32844 commit 4da91c9

2 files changed

Lines changed: 0 additions & 1313 deletions

File tree

ping-viewer-next-frontend/src/pages/addons/widget/[type]/index.vue

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323

2424
<div v-else-if="widgetComponent && deviceData" class="widget-container h-full w-full">
2525
<component :is="widgetComponent" v-bind="widgetProps" class="h-full w-full bg-transparent" ref="widgetRef" />
26-
<SonarMask :width="dimensions.width" :height="dimensions.height" :type="widgetType" :polar_mode="polarMode" :isRecording="isRecording"
27-
class="widget-mask" @button-click="handleMaskButtonClick" />
2826
<Ping360WidgetControls v-if="widgetType === 'ping360'" :is-recording="isRecording"
2927
@button-click="handleMaskButtonClick" />
3028
<Ping1DWidgetControls v-if="widgetType === 'ping1d'" :is-recording="isRecording"
@@ -42,12 +40,10 @@ import { computed, defineComponent, nextTick, onMounted, onUnmounted, ref } from
4240
import { useRoute } from 'vue-router';
4341
import Ping1DWidgetControls from '../components/Ping1DWidgetControls.vue';
4442
import Ping360WidgetControls from '../components/Ping360WidgetControls.vue';
45-
import SonarMask from '../components/SonarMask.vue';
4643
4744
export default defineComponent({
4845
name: 'WidgetView',
4946
components: {
50-
SonarMask,
5147
Ping360WidgetControls,
5248
Ping1DWidgetControls,
5349
},
@@ -805,10 +801,6 @@ body {
805801
overflow: visible;
806802
}
807803
808-
.widget-mask {
809-
pointer-events: none;
810-
}
811-
812804
* {
813805
margin: 0;
814806
padding: 0;

0 commit comments

Comments
 (0)