[pitivi/1.0] viewer: Overlay deselection shown only after mouse move



commit e60f6dcaf9657596874f7bfe0090fd37b6b10bdf
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Tue Apr 24 02:56:58 2018 +0200

    viewer: Overlay deselection shown only after mouse move
    
    Without this, clicking out of the overlay of a clip to deselect the
    overlay has no immediate effect, the deselection is visible only after
    the mouse is moved.

 pitivi/viewer/overlay.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/pitivi/viewer/overlay.py b/pitivi/viewer/overlay.py
index 6e316c1a..81e3fc22 100644
--- a/pitivi/viewer/overlay.py
+++ b/pitivi/viewer/overlay.py
@@ -65,6 +65,7 @@ class Overlay(Gtk.DrawingArea, Loggable):
 
     def _deselect(self):
         self.stack.selected_overlay = None
+        self.queue_draw()
 
     def _hover(self):
         self.stack.hovered_overlay = self


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