Fix render engine info region when overlap and header on bottom

Note there is some talk about changing the position of this (which would be strange in the image editor by the way,
since there we use the bottom for the result of the current pixel when dragging the mouse).

However first I wanted to fix this regardless.
This commit is contained in:
Dalai Felinto 2018-05-31 23:48:50 +02:00
parent 995fa1f4c0
commit a4bb1a5881
1 changed files with 1 additions and 1 deletions

View File

@ -2258,7 +2258,7 @@ void ED_region_info_draw_multiline(ARegion *ar, const char *text_array[], float
}
}
rect.ymin = BLI_rcti_size_y(&rect) - header_height * num_lines;
rect.ymin = rect.ymax - header_height * num_lines;
/* setup scissor */
glGetIntegerv(GL_SCISSOR_BOX, scissor);