From 45f59774d32f03c82648c3307a8cbfa8bf61f706 Mon Sep 17 00:00:00 2001 From: lukeIam <2lukeiam@gmail.com> Date: Fri, 7 Sep 2018 18:55:56 +0200 Subject: [PATCH] Fix: Positioning is not working --- Vocaluxe.UI.Unity/Assets/ScreenHandler.cs | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/Vocaluxe.UI.Unity/Assets/ScreenHandler.cs b/Vocaluxe.UI.Unity/Assets/ScreenHandler.cs index cfe308fc..1943a6b6 100644 --- a/Vocaluxe.UI.Unity/Assets/ScreenHandler.cs +++ b/Vocaluxe.UI.Unity/Assets/ScreenHandler.cs @@ -95,17 +95,19 @@ public class ScreenHandler : MonoBehaviour return button; } - private void SetProperties(CUiElementButton buttonInfo, GameObject button) + private void SetProperties(CUiElementButton buttonInfo, GameObject button, bool setPosition = true) { Button btnComponent = button.GetComponent