mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-08 06:00:54 +00:00
libsysprof-gtk: allow last item to have text
This commit is contained in:
@ -171,8 +171,7 @@ sysprof_mark_chart_row_snapshot (GtkWidget *widget,
|
|||||||
* not overlap and there are at least 20 pixels
|
* not overlap and there are at least 20 pixels
|
||||||
* available to render into.
|
* available to render into.
|
||||||
*/
|
*/
|
||||||
if (i + 1 < n_values &&
|
if ((i + 1 == n_values || values[i+1].begin > v->end) &&
|
||||||
values[i+1].begin > v->end &&
|
|
||||||
rect.size.width > 20)
|
rect.size.width > 20)
|
||||||
{
|
{
|
||||||
g_autoptr(SysprofDocumentMark) mark = g_list_model_get_item (model, v->index);
|
g_autoptr(SysprofDocumentMark) mark = g_list_model_get_item (model, v->index);
|
||||||
|
|||||||
Reference in New Issue
Block a user