Skip to content

Commit c39cbbd

Browse files
committed
docs(concepts_widgets): remove getDisplayScaleAtCoord
replace with getPixelWorldHeightAtCoord
1 parent 61c25d9 commit c39cbbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/content/docs/concepts_widgets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ In order to scale a representation such that it retains the same size in
113113
display space, a widget representation should use the `scaleInPixels` property
114114
and the `getPixelWorldHeightAtCoord(coord)` method. When `scaleInPixels` is set
115115
to true, a widget representation should multiply whatever scaling they perform
116-
by the output of `getDisplayScaleAtCoord(coord)`.
116+
by the output of `getPixelWorldHeightAtCoord(coord)`.
117117

118118
Look at the `SphereHandleRepresentation` as an example for how
119119
`getPixelWorldHeightAtCoord` is used.

0 commit comments

Comments
 (0)