mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
visualizer-ticks: adjust line draw ordering
We want to draw the most important ticks on top, which will improve things should we start using CSS to define styling.
This commit is contained in:
@ -126,8 +126,8 @@ sp_visualizer_ticks_draw (GtkWidget *widget,
|
||||
if ((alloc.width / n_ticks) < MIN_TICK_DISTANCE)
|
||||
continue;
|
||||
|
||||
for (guint j = 0; j < i; j++)
|
||||
draw_ticks (self, cr, &alloc, j);
|
||||
for (guint j = i; j > 0; j--)
|
||||
draw_ticks (self, cr, &alloc, j - 1);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user