Commit 8cdb1ec9 authored by Jonas Danielsson's avatar Jonas Danielsson

Adjust text properly

parent 82430c2b
......@@ -89,7 +89,9 @@ on_text_draw (ClutterCanvas *canvas,
cairo_paint (cr);
cairo_set_operator (cr, CAIRO_OPERATOR_OVER);
cairo_set_source_surface (cr, text->surface, 0, 0);
cairo_set_source_surface (cr, text->surface,
-text->surface_offset_x,
-text->surface_offset_y);
cairo_paint (cr);
surface = cairo_get_target (cr);
g_signal_handlers_disconnect_by_func (canvas, on_text_draw, text);
......
Markdown is supported
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