Palette browser - fix bug when dragging several blocks 96/18396/1
authorMarcos CARDINOT <mcardinot@gmail.com>
Sat, 30 Jul 2016 01:45:38 +0000 (02:45 +0100)
committerMarcos CARDINOT <mcardinot@gmail.com>
Sat, 30 Jul 2016 01:45:38 +0000 (02:45 +0100)
commit67a7747b1090dd9f84472383e5326f81309e562a
treed226a210355834f1f8828a93a7f0434fd49fd0e3
parentebbb88a8dbec94d6f6fa95e30853d139d3bd1f76
Palette browser - fix bug when dragging several blocks

test case:
- select several blocks by holding CTRL
- release CTRL and drag them
[result]->only the current selection is dragged
[expected]-> if mouse is over a selected blocks: drag all selected blocks; otherwise, drag only the current selection

Change-Id: If6b077dfbfdee7d77fc1bbac24c6cb5e8a31b1f1
scilab/modules/xcos/src/java/org/scilab/modules/xcos/palette/listener/PaletteDragGestureListener.java