diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2013-01-11 19:48:50 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2013-01-11 19:48:50 (GMT) |
commit | d87b2bf231461b9bb1a42dbbf904366b78e523e5 (patch) | |
tree | 748743da806a4c6846260c2a8e1c3f4683d44e82 /Desenho.py | |
parent | 85aac4be684f1233d534ab10f19dc48d57a3b88d (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.py | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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() |