[longomatch] Fix rate scale visibility issue.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix rate scale visibility issue.
- Date: Tue, 31 Mar 2015 17:36:36 +0000 (UTC)
commit 72fa06e3d9950041d36e6df3fb76ddce02e7aca6
Author: Julien Moutte <julien fluendo com>
Date: Fri Mar 27 15:06:52 2015 +0100
Fix rate scale visibility issue.
As Compact modifies the rate scale visibility as well we need to set that property before setting the
ShowControls one which has higher priority.
LongoMatch.GUI.Multimedia/Gui/PlayerView.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch.GUI.Multimedia/Gui/PlayerView.cs b/LongoMatch.GUI.Multimedia/Gui/PlayerView.cs
index 78fe690..caa4760 100644
--- a/LongoMatch.GUI.Multimedia/Gui/PlayerView.cs
+++ b/LongoMatch.GUI.Multimedia/Gui/PlayerView.cs
@@ -145,16 +145,16 @@ namespace LongoMatch.Gui
mode = value;
switch (mode) {
case PlayerViewOperationMode.Analysis:
- ShowControls = true;
Compact = false;
+ ShowControls = true;
break;
case PlayerViewOperationMode.LiveAnalysisReview:
- ShowControls = true;
Compact = true;
+ ShowControls = true;
break;
case PlayerViewOperationMode.Synchronization:
- ShowControls = false;
Compact = false;
+ ShowControls = false;
break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]