mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-20 13:23:13 -07:00
Fix bitwise popup focus order (#1273)
This commit is contained in:
parent
4c8e1cb5f0
commit
db15b602f9
1 changed files with 13 additions and 13 deletions
|
@ -296,19 +296,6 @@
|
|||
Content="NOT"
|
||||
IsEnabled="{x:Bind BitwiseButton.IsEnabled, Mode=OneWay}"/>
|
||||
|
||||
<controls:CalculatorButton x:Name="XorButton"
|
||||
x:Uid="xorButton"
|
||||
Grid.Row="1"
|
||||
Grid.Column="2"
|
||||
Style="{StaticResource OperatorButtonStyle}"
|
||||
FontSize="12"
|
||||
AutomationProperties.AutomationId="xorButton"
|
||||
ButtonId="Xor"
|
||||
Click="FlyoutButton_Clicked"
|
||||
Command="{x:Bind Model.ButtonPressed}"
|
||||
Content="XOR"
|
||||
IsEnabled="{x:Bind BitwiseButton.IsEnabled, Mode=OneWay}"/>
|
||||
|
||||
<controls:CalculatorButton x:Name="NandButton"
|
||||
x:Uid="nandButton"
|
||||
Grid.Row="1"
|
||||
|
@ -333,6 +320,19 @@
|
|||
Command="{x:Bind Model.ButtonPressed}"
|
||||
Content="NOR"
|
||||
IsEnabled="{x:Bind BitwiseButton.IsEnabled, Mode=OneWay}"/>
|
||||
|
||||
<controls:CalculatorButton x:Name="XorButton"
|
||||
x:Uid="xorButton"
|
||||
Grid.Row="1"
|
||||
Grid.Column="2"
|
||||
Style="{StaticResource OperatorButtonStyle}"
|
||||
FontSize="12"
|
||||
AutomationProperties.AutomationId="xorButton"
|
||||
ButtonId="Xor"
|
||||
Click="FlyoutButton_Clicked"
|
||||
Command="{x:Bind Model.ButtonPressed}"
|
||||
Content="XOR"
|
||||
IsEnabled="{x:Bind BitwiseButton.IsEnabled, Mode=OneWay}"/>
|
||||
</Grid>
|
||||
</Flyout>
|
||||
</controls:OperatorPanelButton.FlyoutMenu>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue