if (event.doubleClick && event.rightClick) not working as expected
-
Flagging this as an issue because
if(event.drag && event.rightClick)works as expected (only executes when control is dragged with right click.event.rightClickisbooland returns1if right click is down. So why doesn't it work with double click?event.rightClickwill return0from inside theif (event.doubleClick)(obvioulsly).The workaround is to surround
if (event.doubleClick)withif (event.rightClick) { this.data.rightClick = true; }above and
if (!event.rightClick) { this.data.rightClick = false; }below.
commit
3235dac - - bump version to 3.6.0