There is only one block variable, causing the whole stroke to either be blocked or not.
A stroke can contain one or more of mouse button events, relative movement or absolute movement, but an if/else is used, so only one type of input will be processed per stroke
This causes the following issues:
When subscribing using block to mouse movement, mouse buttons are blocked, and vice versa
If multiple mouse buttons are subscribed, but eg only one is blocked, then all will be blocked
Each stroke needs to be split up into multiple strokes, and the if/else changed to multiple unrelated ifs
There is only one
block
variable, causing the whole stroke to either be blocked or not. A stroke can contain one or more of mouse button events, relative movement or absolute movement, but anif/else
is used, so only one type of input will be processed per strokeThis causes the following issues:
Each stroke needs to be split up into multiple strokes, and the if/else changed to multiple unrelated
if
s