Skip to content
Snippets Groups Projects
Commit fb5aa68e authored by gb10's avatar gb10
Browse files

Fixed a regression where grid labels weren't being displayed when the display is reversed

parent 23272448
No related branches found
No related tags found
No related merge requests found
......@@ -211,7 +211,7 @@ static void drawVerticalGridLineHeaders(GtkWidget *header,
/* Get the first base index and round it to a nice round number. We'll offset all of the gridlines
* by the distance between this and the real start coord. */
const int firstBaseIdx = roundToValue(dnaDispRange.min, bpProperties->roundTo);
const int firstBaseIdx = roundToValue(bc->displayRev ? dnaDispRange.max : dnaDispRange.min, bpProperties->roundTo);
/* Calculate the top and bottom heights for the lines. */
const gint bottomBorder = headerProperties->headerRect.y + headerProperties->headerRect.height;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment