Dragging menu while changing rune
gimly32 opened this issue ยท 2 comments
If your dragging the menu around when a rune change finishes casting it gets stuck to the cursor and you have to reload to fix it.
seems to only happen with right click to drag
So, the quick fix is to just stop the dragging once the cast finishes (technically, on every UpdateLayout call). This is not ideal but it's better than the bug itself.
The ideal fix is to properly stop dragging when the player releases right click (so the Engraver doesn't get stuck to the cursor permanently). The difficulty with this is that the button layouts are updated before the right-click release event (due to cast finishing). In order to proceed, I need to:
- determine why the button's OnClick handler isn't triggered when the player releases right click after the update triggered by the cast finishing.