app: use the highlight color for "dashed" lines, oh well...

This commit is contained in:
Michael Natterer 2010-09-23 19:26:02 +02:00
parent d1d89e0dde
commit db1a85148e

View file

@ -512,6 +512,18 @@ gimp_draw_tool_draw_dashed_line (GimpDrawTool *draw_tool,
g_return_if_fail (GIMP_IS_DRAW_TOOL (draw_tool));
if (draw_tool->use_cairo)
{
GimpCanvasItem *item;
item = gimp_canvas_line_new (x1, y1, x2, y2);
gimp_canvas_item_set_highlight (item, TRUE);
draw_tool->items = g_list_append (draw_tool->items, item);
return;
}
shell = gimp_display_get_shell (draw_tool->display);
gimp_display_shell_transform_xy_f (shell,