From d18ca11256c3da86cfb0202953fd2dc3d234d400 Mon Sep 17 00:00:00 2001
From: tzapu <alex@tzapu.com>
Date: Sun, 11 Sep 2016 02:32:36 +0300
Subject: [PATCH] Cloder to middle vertical align

Due to the 4px spacing, the indicators are a bit offset when adding them to LEFT or RIGHT sides of screen
---
 OLEDDisplayUi.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/OLEDDisplayUi.cpp b/OLEDDisplayUi.cpp
index e787442..940c5f3 100644
--- a/OLEDDisplayUi.cpp
+++ b/OLEDDisplayUi.cpp
@@ -372,11 +372,11 @@ void OLEDDisplayUi::drawIndicator() {
           break;
         case RIGHT:
           x = 120 + (8 * indicatorFadeProgress);
-          y = 32 - frameStartPos + 12 * i;
+          y = 32 - frameStartPos + 2 + 12 * i;
           break;
         case LEFT:
           x = 0 - (8 * indicatorFadeProgress);
-          y = 32 - frameStartPos + 12 * i;
+          y = 32 - frameStartPos + 2 + 12 * i;
           break;
       }
 
-- 
GitLab