From 979d387f5da40a384274d48107fef718d24e28a8 Mon Sep 17 00:00:00 2001 From: MutantAura Date: Thu, 30 May 2024 18:45:57 +0100 Subject: [PATCH] Cleanup AXAML and hide sticks when only one is present on guest controller. --- .../UI/Views/Input/ControllerInputView.axaml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/Ryujinx/UI/Views/Input/ControllerInputView.axaml b/src/Ryujinx/UI/Views/Input/ControllerInputView.axaml index 1b16b94bc..b18eb882f 100644 --- a/src/Ryujinx/UI/Views/Input/ControllerInputView.axaml +++ b/src/Ryujinx/UI/Views/Input/ControllerInputView.axaml @@ -318,7 +318,7 @@ HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> - + Width="{Binding UiStickBorderSize}" + IsVisible="{Binding IsLeft}"> + Height="{Binding UiCanvasSize}"/> - + Width="{Binding UiStickBorderSize}" + IsVisible="{Binding IsRight}"> + Height="{Binding UiCanvasSize}"/>