From d4afb0726fee167d984dddf8a6189327d82cc3f1 Mon Sep 17 00:00:00 2001 From: Stefan Lengauer Date: Wed, 25 Jul 2018 21:44:32 +0200 Subject: [PATCH] - hotfix for iCUE change that made the barcnt detection break for CUE.NET --- Devices/KeyboardEffectDevice.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Devices/KeyboardEffectDevice.cs b/Devices/KeyboardEffectDevice.cs index 6472941..7aaa761 100644 --- a/Devices/KeyboardEffectDevice.cs +++ b/Devices/KeyboardEffectDevice.cs @@ -171,7 +171,7 @@ public int GetDesiredBarCount() barcnt = cnt; } } - return barcnt; + return barcnt > 0 ? barcnt : 21; } } }