* Tablet sensitivity for number field dragging now revealed from behind rt.

This commit is contained in:
Matt Ebb
2007-04-06 05:31:46 +00:00
parent 8f9d243532
commit 21d1b9e310

View File

@@ -2151,10 +2151,8 @@ static int ui_do_but_NUM(uiBut *but)
if(qual & LR_ALTKEY) deler*= 20.0;
/* de-sensitise based on tablet pressure */
if (G.rt == 5) {
if (ELEM(get_activedevice(), DEV_STYLUS, DEV_ERASER)) deler /= pressure;
}
if (ELEM(get_activedevice(), DEV_STYLUS, DEV_ERASER)) deler /= pressure;
if(mval[0] != sx) {
if( but->pointype==FLO && but->max-but->min > 11) {
/* non linear change in mouse input- good for high precicsion */