Open kdx2a opened 5 months ago
The handles in OP's screenshot are tiny! Do they not respond to screen DPI? If they can't be reliably scaled according to the DPI, perhaps they could be scaled according to the size of the map view, so they're never smaller than about 2% of min(width, height)? This should affect the Rotate handles as well.
I have a slightly different proposal: I think it's a good idea to "require" the edge you want to change to be visible to resize it, since otherwise it's easy to resize a solid shape (such as your standard Rectangle Object) without noticing. But, there's no reason you should have to scroll/pan to the middle of that edge to get at the handle. Instead, I think the entire edge should work as the handle (plus some DPI-dependent pixels outside of it). S The display can remain as it currently is. This would also make it easier to click the handle even when you're aiming for the arrow itself, as Tiled currently has no grace area around the handles. The diagonal arrows can take priority in their small region of the edges, though perhaps their click zone should also be expanded a bit when space permits. Similarly, I think the rotate handles would benefit from having click zones that span the outer edge of their entire corner (or at least a sizeable chunk of it) and not just the icons:
Is your feature request related to a problem? Please describe. Resizing objects is very frustrating currently. In particular, finding the handles for very large objects (spanning multiple screens) on a hi-dpi monitor can take half a dozen seconds each time, heavily harming productivity when many resizes are needed. This is especially true for side handles, which can be completely off-screen and hard to locate (first attached screenshot).
Describe the solution you'd like Add a way to smart-select the closest handle on a selected object by holding right-click.
Describe alternatives you've considered
hard to see handle
hovering on a resize handle in GIMP