From 884fa3ab33e019794bbbd9bdb67ad68b48d6fabd Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Thu, 30 May 2013 13:10:14 +0000 Subject: Fix rotation of selections with a part out of the canvas - SL #4519 Instead of recreate the selection surface, we should use the surfaces already used to do the rotation. Signed-off-by: Gonzalo Odiard --- (limited to 'Area.py') diff --git a/Area.py b/Area.py index ee29f91..d0f4f72 100644 --- a/Area.py +++ b/Area.py @@ -1405,7 +1405,8 @@ class Area(Gtk.DrawingArea): self.temp_ctx.paint() self.temp_ctx.restore() - self.create_selection_surface(temp_canvas=True) + #assign the rotated surface as the selection surface + self.selection_surface = rotate_surface else: # create a new canvas with permuted dimensions -- cgit v0.9.1