Skip to content

Commit

Permalink
fix: Wells does not update when property "wellNameAtTop" is changed #…
Browse files Browse the repository at this point in the history
…1962 (#1963)

Co-authored-by: t0oF-azpn <93762994+t0oF-azpn@users.noreply.github.com>
  • Loading branch information
nilscb and w1nklr authored Mar 14, 2024
1 parent e2536f1 commit bf318ac
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,13 @@ export default class WellsLayer extends CompositeLayer<WellsLayerProps> {
getAnchor: "start",
getAlignmentBaseline: "bottom",
getSize: this.props.wellNameSize,
updateTriggers: {
getPosition: [
this.props.wellNameAtTop,
is3d,
this.props.lineStyle?.color,
],
},
parameters,
visible: this.props.wellNameVisible && !fastDrawing,
})
Expand Down

0 comments on commit bf318ac

Please sign in to comment.