Skip to content

Commit

Permalink
Fix rectangle drawing in 3d-smooth mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
na9da committed Aug 31, 2023
1 parent eac71bc commit fa49670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ReactViewModels/MouseCoords.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default class MouseCoords {
let errorBar;

if (globe.terrainProvider instanceof EllipsoidTerrainProvider) {
intersection.height = <any>undefined;
intersection.height = 0;
} else {
const barycentric = Intersections2D.computeBarycentricCoordinates(
intersection.longitude,
Expand Down

0 comments on commit fa49670

Please sign in to comment.