Commits

Ikey Doherty committed a9571d1

Use the right size image surface for teh prettybox

Comments (0)

Files changed (1)

src/prettybox.vala

 	var context = Gdk.cairo_create( window );
 	var rect = expose.area;
 
-	var surface = new Cairo.ImageSurface(Cairo.Format.ARGB32, widget.allocation.width*2, widget.allocation.height*2);
+	var surface = new Cairo.ImageSurface(Cairo.Format.ARGB32, widget.allocation.width + 12, widget.allocation.height + 12);
 
 	var ctx = new Cairo.Context(surface);
 	ctx.set_operator (Cairo.Operator.SATURATE);