Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Desenho.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2013-01-11 19:48:50 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2013-01-11 19:48:50 (GMT)
commitd87b2bf231461b9bb1a42dbbf904366b78e523e5 (patch)
tree748743da806a4c6846260c2a8e1c3f4683d44e82 /Desenho.py
parent85aac4be684f1233d534ab10f19dc48d57a3b88d (diff)
Selection disapear - SL #4375
If there are a selection already finished, should be painted, when draw the selected area. Redraw can be triggered by events externals to what the user do, like canvas scroll due to open or close subtoolbars, or a window opened over the canvas (ObjectChooser) Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'Desenho.py')
-rw-r--r--Desenho.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/Desenho.py b/Desenho.py
index 50ac4fa..0420f51 100644
--- a/Desenho.py
+++ b/Desenho.py
@@ -681,11 +681,6 @@ class Desenho:
widget.oldy = coords[1]
new_x, new_y = x + dx, y + dy
- widget.temp_ctx.save()
- widget.temp_ctx.translate(new_x, new_y)
- widget.temp_ctx.set_source_surface(selection_surface)
- widget.temp_ctx.paint()
- widget.temp_ctx.restore()
widget.set_selection_start(new_x, new_y)
widget.queue_draw()