mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 14:40:54 +00:00
visualizer-ticks: remove extraneous assertion
This isn't exactly true anymore, so we need to remove it now that we can have more interesting time spans.
This commit is contained in:
@ -82,8 +82,6 @@ draw_ticks (SpVisualizerTicks *self,
|
|||||||
space = (gdouble)area->width / (gdouble)timespan * (gdouble)tick_sizing[ticks].span;
|
space = (gdouble)area->width / (gdouble)timespan * (gdouble)tick_sizing[ticks].span;
|
||||||
half = tick_sizing[ticks].width / 2.0;
|
half = tick_sizing[ticks].width / 2.0;
|
||||||
|
|
||||||
g_assert (space >= MIN_TICK_DISTANCE);
|
|
||||||
|
|
||||||
for (gdouble x = 0; x < area->width; x += space)
|
for (gdouble x = 0; x < area->width; x += space)
|
||||||
{
|
{
|
||||||
cairo_move_to (cr, (gint)x - .5 - (gint)half, 0);
|
cairo_move_to (cr, (gint)x - .5 - (gint)half, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user