@oicl/openbridge-webcomponents 2.0.0-next.107 → 2.0.0-next.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/openbridge-webcomponents.bundle.js +1 -2
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +3 -3
- package/dist/navigation-instruments/speed-directions/speed-directions.d.ts +3 -3
- package/dist/navigation-instruments/speed-directions/speed-directions.d.ts.map +1 -1
- package/dist/navigation-instruments/speed-directions/speed-directions.js +1 -2
- package/dist/navigation-instruments/speed-directions/speed-directions.js.map +1 -1
- package/package.json +1 -1
|
@@ -227669,9 +227669,8 @@ let ObcSpeedDirections = class extends i$4 {
|
|
|
227669
227669
|
renderVessel() {
|
|
227670
227670
|
const standalone = this.frameStyle === SpeedDirectionsFrameStyle.standalone;
|
|
227671
227671
|
const bars2 = this.type === SpeedDirectionsType.alongAthwartBars;
|
|
227672
|
-
const image = standalone ? bars2 ? VesselImage.psvTop : VesselImage.genericTop : this.vesselImage;
|
|
227673
227672
|
const scale = standalone && !bars2 ? 2 : 1;
|
|
227674
|
-
return w`<g transform="translate(0 ${VESSEL_CENTER_Y}) scale(${scale}) translate(-80 -80)">${vesselImages[
|
|
227673
|
+
return w`<g transform="translate(0 ${VESSEL_CENTER_Y}) scale(${scale}) translate(-80 -80)">${vesselImages[this.vesselImage]}</g>`;
|
|
227675
227674
|
}
|
|
227676
227675
|
renderContent() {
|
|
227677
227676
|
const bars2 = this.type === SpeedDirectionsType.alongAthwartBars;
|