diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2013-05-30 13:10:14 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2013-05-30 13:10:14 (GMT) |
commit | 884fa3ab33e019794bbbd9bdb67ad68b48d6fabd (patch) | |
tree | 4595ea45cd19602291289b2d5d61a7bb094e250d /Area.py | |
parent | d5a892e5804d350541e8c73d495245cba6632c3c (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.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |