Fix the operand order of logbasex for consistency (#1115)
* Fix #851: inconsistent operand order for log_y(x) - fixed the bug in scioper.cpp - changed the related test in CalculatorUnitTests - also changed the text in GraphingNumpad * Change the name of LogBaseX for consistency basically every occurence is repalced by logbasey, except for the localized string for narrator, which I left for the localization team to fix. * Fix the test * Revert GraphingNumPad.cpp * Fixup according to review
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
<Setter Target="FuncButton.IsEnabled" Value="False"/>
|
||||
<Setter Target="EulerButton.IsEnabled" Value="False"/>
|
||||
<Setter Target="AbsButton.IsEnabled" Value="False"/>
|
||||
<Setter Target="LogBaseX.IsEnabled" Value="False"/>
|
||||
<Setter Target="LogBaseY.IsEnabled" Value="False"/>
|
||||
<Setter Target="TwoPowerXButton.IsEnabled" Value="False"/>
|
||||
<Setter Target="CubeRootButton.IsEnabled" Value="False"/>
|
||||
</VisualState.Setters>
|
||||
@@ -148,7 +148,7 @@
|
||||
|
||||
<Setter Target="EulerButton.FontSize" Value="{ThemeResource CalcButtonCaptionSize}"/>
|
||||
<Setter Target="AbsButton.FontSize" Value="{ThemeResource CalcButtonCaptionSize}"/>
|
||||
<Setter Target="LogBaseX.FontSize" Value="{ThemeResource CalcButtonCaptionSize}"/>
|
||||
<Setter Target="LogBaseY.FontSize" Value="{ThemeResource CalcButtonCaptionSize}"/>
|
||||
<Setter Target="TwoPowerXButton.FontSize" Value="{ThemeResource CalcButtonCaptionSize}"/>
|
||||
<Setter Target="CubeRootButton.FontSize" Value="{ThemeResource CalcButtonCaptionSize}"/>
|
||||
|
||||
@@ -238,7 +238,7 @@
|
||||
|
||||
<Setter Target="EulerButton.FontSize" Value="{ThemeResource CalcStandardOperatorCaptionSize}"/>
|
||||
<Setter Target="AbsButton.FontSize" Value="{ThemeResource CalcStandardOperatorCaptionSize}"/>
|
||||
<Setter Target="LogBaseX.FontSize" Value="{ThemeResource CalcStandardOperatorCaptionSize}"/>
|
||||
<Setter Target="LogBaseY.FontSize" Value="{ThemeResource CalcStandardOperatorCaptionSize}"/>
|
||||
<Setter Target="TwoPowerXButton.FontSize" Value="{ThemeResource CalcStandardOperatorCaptionSize}"/>
|
||||
<Setter Target="CubeRootButton.FontSize" Value="{ThemeResource CalcStandardOperatorCaptionSize}"/>
|
||||
|
||||
@@ -326,7 +326,7 @@
|
||||
|
||||
<Setter Target="EulerButton.FontSize" Value="{ThemeResource CalcOperatorCaptionSize}"/>
|
||||
<Setter Target="AbsButton.FontSize" Value="{ThemeResource CalcOperatorCaptionSize}"/>
|
||||
<Setter Target="LogBaseX.FontSize" Value="16"/>
|
||||
<Setter Target="LogBaseY.FontSize" Value="16"/>
|
||||
<Setter Target="TwoPowerXButton.FontSize" Value="{ThemeResource CalcOperatorCaptionSize}"/>
|
||||
<Setter Target="CubeRootButton.FontSize" Value="{ThemeResource CalcOperatorCaptionSize}"/>
|
||||
|
||||
@@ -1039,12 +1039,12 @@
|
||||
Click="ShiftButton_Uncheck"
|
||||
Content=""/>
|
||||
|
||||
<controls:CalculatorButton x:Name="LogBaseX"
|
||||
x:Uid="logBaseX"
|
||||
<controls:CalculatorButton x:Name="LogBaseY"
|
||||
x:Uid="logBaseY"
|
||||
Grid.Row="4"
|
||||
Style="{StaticResource EmphasizedCalcButtonStyle}"
|
||||
AutomationProperties.AutomationId="logBaseX"
|
||||
ButtonId="LogBaseX"
|
||||
AutomationProperties.AutomationId="logBaseY"
|
||||
ButtonId="LogBaseY"
|
||||
Click="ShiftButton_Uncheck"
|
||||
Content=""/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user