forked from bartvdbraak/blender
Fix #25818: Text Editor holizontal grab inverted
Stupid typo. Maybe it's a result of merging two patches related to this part of code.
This commit is contained in:
parent
c627e1cbaa
commit
4613d638a9
@ -2056,7 +2056,7 @@ static void scroll_apply(bContext *C, wmOperator *op, wmEvent *event)
|
||||
tsc->delta[1]+= mval[1] - tsc->old[1];
|
||||
|
||||
if(!tsc->scrollbar) {
|
||||
txtdelta[0]= tsc->delta[0]/st->cwidth;
|
||||
txtdelta[0]= -tsc->delta[0]/st->cwidth;
|
||||
txtdelta[1]= tsc->delta[1]/st->lheight;
|
||||
|
||||
tsc->delta[0]%= st->cwidth;
|
||||
|
Loading…
Reference in New Issue
Block a user