menpo / landmarker.io

Image and mesh annotation web application
https://www.landmarker.io
BSD 3-Clause "New" or "Revised" License
114 stars 21 forks source link

Selecting landmark groups by mouse hold #58

Open patricksnape opened 10 years ago

patricksnape commented 10 years ago

It would be nice if you could select multiple landmarks within a group by just holding the mouse button down and 'sliding' the mouse over them.

You should also not be able to CTRL+CLICK on landmarks from different groups (which you can at the moment).

jabooth commented 10 years ago

Can you make a separate issue for the ctrl click? That is a definite bug.

As for the sliding behaviour, is this a proposal for in the viewport or over the landmark table? Can you elaborate? For instance, which mouse button would be pressed down? Also, you are aware of the shift click behaviour right? Sounds like this may be fairly similar...

patricksnape commented 10 years ago

I mean in the table. I know you can SHIFT+DOUBLECLK but If I only want to select say, the left half of the mouth, it can be annoying to CTRL+CLICK so many points! Would be nice to just hold the mouse down on one side and drag in a direction and just keep selecting points.

It would also be good to 'unselect' a point if I click on the table on a point that is highlighted. Pretty standard selectable behaviour.

jabooth commented 10 years ago

Ah right, I see what you mean. It was my intention to implement shift click in the table (and that would behave exactly as you want here). Will definitely add this.