Redraw existing bounds on do_update

This commit is contained in:
Marco Pesenti Gritti 2006-09-10 23:48:23 +02:00
parent a75adee698
commit 35e64c154a

View File

@ -91,6 +91,8 @@ class IconView(goocanvas.ItemViewSimple, goocanvas.ItemView):
if self.transform != None: if self.transform != None:
cr.transform(self.transform) cr.transform(self.transform)
self.get_canvas_view().request_redraw(self.bounds)
bounds = goocanvas.Bounds() bounds = goocanvas.Bounds()
bounds.x1 = self.item.x bounds.x1 = self.item.x
bounds.y1 = self.item.y bounds.y1 = self.item.y