cloudhead / cloudhead/rx

Deleting/cutting causes position of floated pixels to jump on first mouse motion

Open
#78 3 comments 0 reactions 0 assignees View on GitHub
type:enhancement
Dominant language
Rust
Stars
3.5k
Forks
110
PR merge metrics
No merged PRs in 30d

Description

With rx 0.4.0, when I...

1. Press `v`
2. Draw a selection box from top-left to bottom-right (as is my habit)
3. Press `d` to cut the selection

...as soon as I move my cursor, the selected block of pixels will jump so that the top-left pixel is under the cursor. This is a big inconvenience when I just want to move a block of pixels up/down/left/right a pixel or two relative to their original position because my habit of selecting from top-left to bottom-right invariably puts the cursor over the bottom-right pixel of the selection.

`d` should either grab the floated selection based on where the cursor was at the time `d` was pressed, relative to the selection or warp the pointer to the top-left corner of the floated selection.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.