[Slate / 4.6] OnMouseMove frequency call
In 4.5, I managed to update the size and position of a SCompoundWidget-derived widget according to the movement of the mouse (basically a home-made window). I overrode OnMouseMove method from SCompoundWidget and used directly the CursorDelta from the FPointerEvent to do the job. It worked fine.
Since 4.6, it seems the method is not called often enough. As a result, my cursor is drifting away from the widget while they should stick together.
As an easy solution, I cached the position of the cursor in each OnMouseMove call and process the CursorDelta myself by substracting the new cursor position to the cached one. It works, but the reshaping was way smoother before.
Is there a way to get the same behaviour as before?
Thank you ! Alex.
Follow this question
Once you sign in you will be able to subscribe for any updates here