Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Selected object drag cursor #1277
Unfortunately this appears to be a bug in Qt. When tracing the code, I can see Tiled is setting the arrow cursor on the viewport as soon as you exit the hovered handle, but it changes back to the hand cursor instead.
So I think I could either dig into Qt to see if I can find out where it goes wrong, or I can change the handle implementation to avoid this scenario. The latter is probably easier...
Alright, looking at the Qt code in
I'd love to swap the order on the last two items above, but my logic happens in response to mouse events delivered to the
So, the alternative is to stop setting a mouse cursor on the handles and do all the updating only in the object selection tool. That means it will also need to take care of setting the hovered state on the handles, but that should be no problem.