예제 #1
0
    private void updateHotspot(dfMouseEventArgs mouseEvent)
    {
        if (this.indicator == null)
        {
            return;
        }

        var relativePos = control.GetHitPosition(mouseEvent);

        indicator.RelativePosition = relativePos - indicator.Size * 0.5f;

        updateSelectedColor();
    }