flamescope icon indicating copy to clipboard operation
flamescope copied to clipboard

drag and drop to select range

Open PetterS opened this issue 7 years ago • 2 comments

I think drag and drop to select range would feel more natural than clicking first start, then end.

At least that was the first thing I tried, even after looking at the image in the readme.

PetterS avatar Apr 05 '18 13:04 PetterS

I believe this is a personal preference, but open to add it as an option. Open to PRs.

spiermar avatar Apr 06 '18 02:04 spiermar

It might be possible to support both (still not sure we want to, but..). So if you click and release a block without exiting it (no mouse-out events), then it's the normal style. If you click and then mouse-out before the release, it's the drag style. Only catch is that you couldn't click and drag one block -- that would require a double click.

brendangregg avatar Apr 10 '18 19:04 brendangregg