[chronojump] Better fraction for pulsebar analyze
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Better fraction for pulsebar analyze
- Date: Fri, 18 Mar 2016 16:29:29 +0000 (UTC)
commit 099c329846c4fd6921f6ca0f7f2039433bf99267
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Mar 18 17:06:33 2016 +0100
Better fraction for pulsebar analyze
src/gui/encoder.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index b0ed4e7..c6abf31 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -5419,14 +5419,14 @@ public partial class ChronoJumpWindow
if(fraction == -1)
encoder_pulsebar_capture.Pulse();
else
- encoder_pulsebar_capture.Fraction = fraction;
+ encoder_pulsebar_capture.Fraction = Util.DivideSafeFraction(fraction,
5);
encoder_pulsebar_capture.Text = contents;
} else {
if(fraction == -1)
encoder_pulsebar_analyze.Pulse();
else
- encoder_pulsebar_analyze.Fraction = fraction;
+ encoder_pulsebar_analyze.Fraction = Util.DivideSafeFraction(fraction,
5);
encoder_pulsebar_analyze.Text = contents;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]