Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Area.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2013-05-30 13:10:14 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2013-05-30 13:10:14 (GMT)
commit884fa3ab33e019794bbbd9bdb67ad68b48d6fabd (patch)
tree4595ea45cd19602291289b2d5d61a7bb094e250d /Area.py
parentd5a892e5804d350541e8c73d495245cba6632c3c (diff)
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 <gonzalo@laptop.org>
Diffstat (limited to 'Area.py')
-rw-r--r--Area.py3
1 files changed, 2 insertions, 1 deletions
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