From 9322f3c261e8a2be80c1115aca8370a7f4d8e328 Mon Sep 17 00:00:00 2001
From: rorist <rorist@0xcafe.ch>
Date: Fri, 25 Aug 2023 21:40:27 +0200
Subject: [PATCH] Only show current sample in debug mode

---
 __init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/__init__.py b/__init__.py
index 06efd08..b137516 100755
--- a/__init__.py
+++ b/__init__.py
@@ -98,7 +98,7 @@ class EndlessSequencer(Application):
             ctx.rotate(-0.45)
 
             # CURRENT SAMPLE
-            if self.current_sample != None and self.current_sample < len(self.sample_names):
+            if self.DEBUG and self.current_sample != None and self.current_sample < len(self.sample_names):
                 ctx.move_to(0, 10)
                 ctx.rgb(*colours.RED)
                 ctx.font_size = 20
-- 
GitLab