[chronojump] ForceSensor accuracy countdown message in bold
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] ForceSensor accuracy countdown message in bold
- Date: Mon, 31 May 2021 11:33:18 +0000 (UTC)
commit da03d38a96e7c818162884461f9297c3af777c80
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon May 31 13:32:56 2021 +0200
ForceSensor accuracy countdown message in bold
src/gui/app1/forceSensor.cs | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/app1/forceSensor.cs b/src/gui/app1/forceSensor.cs
index 049e93a35..12be7d7bf 100644
--- a/src/gui/app1/forceSensor.cs
+++ b/src/gui/app1/forceSensor.cs
@@ -1575,14 +1575,15 @@ LogB.Information(" fs E ");
if(fscPoints != null) {
int countDown = Convert.ToInt32(UtilAll.DivideSafe(5000000 -
fscPoints.GetLastTime(), 1000000));
if(countDown >= 0)
- accuracyStr = string.Format(" Accuracy calculation starts in
{0} s", countDown);
+ accuracyStr = string.Format(" - Accuracy calculation starts
in <b>{0}</b> s", countDown);
else
- accuracyStr = string.Format(" Accuracy: {0} %",
Util.TrimDecimals(pathAccuracy.Accuracy, 1));
+ accuracyStr = string.Format(" - Accuracy: {0} %",
Util.TrimDecimals(pathAccuracy.Accuracy, 1));
}
}
event_execute_label_message.Text = "Capturing" +
" (" +
Util.TrimDecimals(DateTime.Now.Subtract(forceSensorTimeStart).TotalSeconds, 0) + " s)" + accuracyStr;
+ event_execute_label_message.UseMarkup = true;
}
LogB.Information(" fs F ");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]