From 5adaf87dbef75c5bc388c505da0fba23548ed1db Mon Sep 17 00:00:00 2001 From: iota97 Date: Sun, 24 Oct 2021 20:33:24 +0200 Subject: [PATCH] Fix analog resize --- UI/TouchControlLayoutScreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/TouchControlLayoutScreen.cpp b/UI/TouchControlLayoutScreen.cpp index 0ae9bc97a4..7cee7d6ed5 100644 --- a/UI/TouchControlLayoutScreen.cpp +++ b/UI/TouchControlLayoutScreen.cpp @@ -301,7 +301,7 @@ public: dc.Draw()->DrawImage(stickImage, bounds_.centerX(), bounds_.centerY(), scale_ * spacing_, colorBg, ALIGN_CENTER); } - float GetSpacing() const override { return spacing_; } + float GetSpacing() const override { return spacing_ * 3; } void SetSpacing(float s) override { // In mapping spacing is clamped between 0.5 and 3.0 and passed to this method spacing_ = s/3;