[pitivi] viewer: Overlay deselection shown only after mouse move
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] viewer: Overlay deselection shown only after mouse move
- Date: Wed, 2 May 2018 20:23:19 +0000 (UTC)
commit 04fa2d54085a3a23a2b0837e17687969b972e271
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]