updateScrollPosition

fun updateScrollPosition()

Transform and set coordinates for the scrollPositionIndicator.

Relies on the MiniMap's copy of the main WorldMapHolder as input.

Requires scrollPositionIndicator to be a ClippingImage to keep the displayed portion of the indicator within the bounds of the minimap.

Sources

jvm source
Link copied to clipboard