diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-01-27 00:00:52 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-01-27 00:00:52 +0300 |
commit | 4613d638a956a25830265c576cf7cf934d38eb93 (patch) | |
tree | 78b99505fd9612016db4a9f53dba826f3faf6b4a /source/blender/editors/space_text | |
parent | c627e1cbaa916cd657512b1ebd196f60d1d3125d (diff) |
Fix #25818: Text Editor holizontal grab inverted
Stupid typo. Maybe it's a result of merging two patches related to this part of code.
Diffstat (limited to 'source/blender/editors/space_text')
-rw-r--r-- | source/blender/editors/space_text/text_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c index e3a46929fba..7eb0ab67d8e 100644 --- a/source/blender/editors/space_text/text_ops.c +++ b/source/blender/editors/space_text/text_ops.c @@ -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; |