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_console
parent1fdea43c29a7a0ffb65ec8049da574d4198d22af (diff)
Cleanup: rename textview ymin/max
This is used for scrolling which wasn't obvious.
Diffstat (limited to 'source/blender/editors/space_console')
-rw-r--r--source/blender/editors/space_console/console_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_console/console_draw.c b/source/blender/editors/space_console/console_draw.c
index 02278934c20..5476bde8af5 100644
--- a/source/blender/editors/space_console/console_draw.c
+++ b/source/blender/editors/space_console/console_draw.c
@@ -224,8 +224,8 @@ static int console_textview_main__internal(struct SpaceConsole *sc,
tvc.sel_start = sc->sel_start;
tvc.sel_end = sc->sel_end;
tvc.lheight = sc->lheight * UI_DPI_FAC;
- tvc.ymin = v2d->cur.ymin;
- tvc.ymax = v2d->cur.ymax;
+ tvc.scroll_ymin = v2d->cur.ymin;
+ tvc.scroll_ymax = v2d->cur.ymax;
console_textview_draw_rect_calc(ar, &tvc.draw_rect);