From 271207eb35831a0b8e00b0d3d53041bf765bbd85 Mon Sep 17 00:00:00 2001 From: Jente Hidskes Date: Sat, 11 Nov 2017 17:52:59 +0100 Subject: [PATCH 28/30] LedDialog: use new effect duration in ms libratbag/libratbag#422 introduced effect duration in ms for LEDs as opposed to effect rate in Hz, as was discussed in #175. This commit updates Piper's UI to reflect these changes. Fixes #175. --- data/ui/LedDialog.ui | 30 ++++++++++++++++-------------- piper/leddialog.py | 16 ++++++++++++---- piper/ledspage.py | 2 +- 3 files changed, 29 insertions(+), 19 deletions(-) diff --git a/data/ui/LedDialog.ui b/data/ui/LedDialog.ui index 408fb0a..0c1e422 100644 --- a/data/ui/LedDialog.ui +++ b/data/ui/LedDialog.ui @@ -7,11 +7,11 @@ 1 10 - - 100 - 20000 - 50 - 50 + + 0 + 10000 + 100 + 500