mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-08-30 07:25:05 +00:00
Cleanup AXAML and hide sticks when only one is present on guest controller.
This commit is contained in:
parent
75c7a29278
commit
ffe366d953
1 changed files with 8 additions and 10 deletions
|
|
@ -319,7 +319,7 @@
|
|||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch">
|
||||
<!-- Controller Picture -->
|
||||
<Border
|
||||
<Border
|
||||
BorderBrush="{DynamicResource ThemeControlBorderColor}"
|
||||
BorderThickness="1"
|
||||
CornerRadius="5"
|
||||
|
|
@ -335,7 +335,8 @@
|
|||
BorderThickness="1"
|
||||
CornerRadius="5"
|
||||
Height="{Binding UiStickBorderSize}"
|
||||
Width="{Binding UiStickBorderSize}">
|
||||
Width="{Binding UiStickBorderSize}"
|
||||
IsVisible="{Binding IsLeft}">
|
||||
<Canvas
|
||||
Background="{DynamicResource ThemeBackgroundColor}"
|
||||
Height="{Binding UiCanvasSize}"
|
||||
|
|
@ -349,9 +350,7 @@
|
|||
Stroke="Black"
|
||||
StrokeThickness="1"
|
||||
Width="{Binding UiCanvasSize}"
|
||||
Height="{Binding UiCanvasSize}"
|
||||
Canvas.Bottom="2"
|
||||
Canvas.Left="2" />
|
||||
Height="{Binding UiCanvasSize}"/>
|
||||
<Ellipse
|
||||
HorizontalAlignment="Center"
|
||||
Fill="Gray"
|
||||
|
|
@ -367,12 +366,13 @@
|
|||
Canvas.Left="{Binding UiStickLeftX}" />
|
||||
</Canvas>
|
||||
</Border>
|
||||
<Border
|
||||
<Border
|
||||
BorderBrush="{DynamicResource ThemeControlBorderColor}"
|
||||
BorderThickness="1"
|
||||
CornerRadius="5"
|
||||
Height="{Binding UiStickBorderSize}"
|
||||
Width="{Binding UiStickBorderSize}">
|
||||
Width="{Binding UiStickBorderSize}"
|
||||
IsVisible="{Binding IsRight}">
|
||||
<Canvas
|
||||
Background="{DynamicResource ThemeBackgroundColor}"
|
||||
Height="{Binding UiCanvasSize}"
|
||||
|
|
@ -386,9 +386,7 @@
|
|||
Stroke="Black"
|
||||
StrokeThickness="1"
|
||||
Width="{Binding UiCanvasSize}"
|
||||
Height="{Binding UiCanvasSize}"
|
||||
Canvas.Bottom="2"
|
||||
Canvas.Left="2" />
|
||||
Height="{Binding UiCanvasSize}"/>
|
||||
<Ellipse
|
||||
HorizontalAlignment="Center"
|
||||
Fill="Gray"
|
||||
|
|
|
|||
Loading…
Reference in a new issue