Mercurial > hg > forks > yadex
changeset 14:3af73bbaec8e
Incremental selection of objects via 2nd mouse button (same as ctrl+first mouse button.)
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 24 Sep 2011 11:59:09 +0300 |
parents | 40c5d2879627 |
children | 992b7f4adaf6 |
files | src/editloop.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/editloop.cc Sat Sep 24 11:58:37 2011 +0300 +++ b/src/editloop.cc Sat Sep 24 11:59:09 2011 +0300 @@ -999,7 +999,7 @@ /* Clicking on selected object with [Ctrl] pressed unselects it. Clicking on unselected object with [Ctrl] pressed selects it. */ - else if (is.key == YE_BUTL_PRESS && is.ctrl + else if (((is.key == YE_BUTL_PRESS && is.ctrl) || is.key == YE_BUTR_PRESS) && e.tool == TOOL_NORMAL && object ()) {