Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-12-03 11:58:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-12-03 11:59:11 +0300
commitc7e64f67ed8e0a0f1f7a4f3fa1bab55210140543 (patch)
treecb7b9df00643f1754b3241acd1f650cffb9465d2 /source/blender/editors/space_info/info_draw.c
parent1fdea43c29a7a0ffb65ec8049da574d4198d22af (diff)
Cleanup: rename textview ymin/max
This is used for scrolling which wasn't obvious.
Diffstat (limited to 'source/blender/editors/space_info/info_draw.c')
-rw-r--r--source/blender/editors/space_info/info_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_info/info_draw.c b/source/blender/editors/space_info/info_draw.c
index a22983c15a8..f2f8b2da4db 100644
--- a/source/blender/editors/space_info/info_draw.c
+++ b/source/blender/editors/space_info/info_draw.c
@@ -266,8 +266,8 @@ static int info_textview_main__internal(struct SpaceInfo *sinfo,
tvc.sel_start = 0;
tvc.sel_end = 0;
tvc.lheight = 14 * UI_DPI_FAC; // sc->lheight;
- tvc.ymin = v2d->cur.ymin;
- tvc.ymax = v2d->cur.ymax;
+ tvc.scroll_ymin = v2d->cur.ymin;
+ tvc.scroll_ymax = v2d->cur.ymax;
info_textview_draw_rect_calc(ar, &tvc.draw_rect);