Skip to content

Commit

Permalink
Change HudCompass to CompassHUD
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl committed Jul 28, 2023
1 parent 64c16d2 commit 8f26d96
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/assets/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const widgetProfiles: { [key: string]: Profile } = {
{
hash: '6920ce40-5121-4031-b628-678c5449d94a',
name: 'HUD Compass',
component: WidgetType.HudCompass,
component: WidgetType.CompassHUD,
position: { x: 0.15, y: 0.84 },
size: { width: 0.7, height: 0.065 },
managerVars: {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/types/widgets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export enum WidgetType {
Attitude = 'Attitude',
Compass = 'Compass',
DepthHUD = 'DepthHUD',
HudCompass = 'HudCompass',
CompassHUD = 'CompassHUD',
ImageViewer = 'ImageViewer',
Indicators = 'Indicators',
Joystick = 'Joystick',
Expand Down
6 changes: 3 additions & 3 deletions src/views/WidgetsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<template v-if="widget.component === WidgetType.DepthHUD">
<DepthHUD :widget="widget" />
</template>
<template v-if="widget.component === WidgetType.HudCompass">
<HudCompass :widget="widget" />
<template v-if="widget.component === WidgetType.CompassHUD">
<CompassHUD :widget="widget" />
</template>
<template v-if="widget.component === WidgetType.ImageViewer">
<ImageView :widget="widget" />
Expand Down Expand Up @@ -66,7 +66,7 @@ import WidgetHugger from '../components/WidgetHugger.vue'
import Attitude from '../components/widgets/Attitude.vue'
import Compass from '../components/widgets/Compass.vue'
import DepthHUD from '../components/widgets/DepthHUD.vue'
import HudCompass from '../components/widgets/HudCompass.vue'
import CompassHUD from '../components/widgets/CompassHUD.vue'
import Indicators from '../components/widgets/Indicators.vue'
import Map from '../components/widgets/Map.vue'
import MiniWidgetsBar from '../components/widgets/MiniWidgetsBar.vue'
Expand Down

0 comments on commit 8f26d96

Please sign in to comment.