Small fix: SHIFT+D caused transform to move with more precision, as if
shiftkey was pressed.
This commit is contained in:
2009-07-29 11:53:37 +00:00
parent 208c535869
commit 1744061a91
2 changed files with 4 additions and 4 deletions

View File

@@ -317,7 +317,7 @@ int handleMouseInput(TransInfo *t, MouseInput *mi, wmEvent *event)
{
case LEFTSHIFTKEY:
case RIGHTSHIFTKEY:
if (event->val)
if (event->val==KM_PRESS)
{
t->modifiers |= MOD_PRECISION;
/* shift is modifier for higher precision transform