[meld] diffmap: Force a repaint of the map background when we resize



commit 7317ea3cd20bda6ae4de3db05dd46cc38d2e8a73
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Tue Dec 31 12:17:18 2013 +1000

    diffmap: Force a repaint of the map background when we resize

 meld/diffmap.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meld/diffmap.py b/meld/diffmap.py
index c7e5cad..62d0efb 100644
--- a/meld/diffmap.py
+++ b/meld/diffmap.py
@@ -108,6 +108,7 @@ class DiffMap(Gtk.DrawingArea):
         self._scroll_y = allocation.y
         self._scroll_height = allocation.height
         self._width = max(allocation.width, 10)
+        self._cached_map = None
         self.queue_resize()
 
     def do_draw(self, context):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]