Skip to content

Commit

Permalink
chore: 清理
Browse files Browse the repository at this point in the history
  • Loading branch information
Blinue committed Dec 12, 2023
1 parent 6efaa27 commit 2546d11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/Magpie.App/IsEqualStateTrigger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ static bool AreValuesEqual(IInspectable const& value1, IInspectable const& value
case PropertyType::OtherType:
{
return value1.as<IReference<ContentAlignment>>() == value2.as<IReference<ContentAlignment>>();
/*int a = v1.GetInt32();
int b = v2.GetInt32();
return a == b;*/
}
default:
return false;
Expand Down
6 changes: 4 additions & 2 deletions src/Magpie.App/ProfilePage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@
</local:SettingsExpander.Content>
<local:SettingsExpander.Items>
<local:SettingsCard x:Uid="Profile_Cursor_DrawCursor_ScalingFactor"
IsEnabled="{x:Bind ViewModel.IsDrawCursor, Mode=OneWay}">
IsEnabled="{x:Bind ViewModel.IsDrawCursor, Mode=OneWay}"
IsWrapEnabled="True">
<Grid MinWidth="{StaticResource SettingBoxMinWidth}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
Expand Down Expand Up @@ -415,7 +416,8 @@
</Grid>
</local:SettingsCard>
<local:SettingsCard x:Uid="Profile_Cursor_DrawCursor_Interpolation"
IsEnabled="{x:Bind ViewModel.IsDrawCursor, Mode=OneWay}">
IsEnabled="{x:Bind ViewModel.IsDrawCursor, Mode=OneWay}"
IsWrapEnabled="True">
<ComboBox DropDownOpened="ComboBox_DropDownOpened"
SelectedIndex="{x:Bind ViewModel.CursorInterpolationMode, Mode=TwoWay}"
Style="{StaticResource ComboBoxSettingStyle}">
Expand Down

0 comments on commit 2546d11

Please sign in to comment.