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>2012-11-01 13:46:45 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-11-01 13:46:45 (GMT)
commit58e9e25e2a2f4f1c14ac4f83107bea7ed1af34db (patch)
treebec759bad65d574c47641931f6322f953ec20935 /Area.py
parent62c6287a207040ade2712449ededb3b390a9912f (diff)
Alpha is broken after user undo/redo - SL #4143
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'Area.py')
-rw-r--r--Area.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Area.py b/Area.py
index 849751f..25c2b3c 100644
--- a/Area.py
+++ b/Area.py
@@ -966,7 +966,6 @@ class Area(Gtk.DrawingArea):
undo_surface = self._undo_list[self._undo_index]
self.drawing_ctx.set_source_surface(undo_surface, 0, 0)
- self.drawing_ctx.set_operator(cairo.OPERATOR_SOURCE)
self.drawing_ctx.paint()
self.queue_draw()
@@ -987,7 +986,6 @@ class Area(Gtk.DrawingArea):
undo_surface = self._undo_list[self._undo_index]
self.drawing_ctx.set_source_surface(undo_surface, 0, 0)
- self.drawing_ctx.set_operator(cairo.OPERATOR_SOURCE)
self.drawing_ctx.paint()
self.queue_draw()
@@ -1027,7 +1025,6 @@ class Area(Gtk.DrawingArea):
undo_surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, width, height)
undo_ctx = cairo.Context(undo_surface)
undo_ctx.set_source_surface(self.drawing_canvas, 0, 0)
- undo_ctx.set_operator(cairo.OPERATOR_SOURCE)
undo_ctx.paint()
undo_surface.flush()