Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit fb754ff

Browse files
authored
修复WM复制消息异位的问题 (#35)
1 parent c2daec6 commit fb754ff

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

src/Wfa.App/Controls/Market/ItemOrder.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
Margin="0,0,0,-4"
105105
Padding="8,4"
106106
VerticalAlignment="Bottom"
107-
Command="{x:Bind ViewModel.CopyMessageCommand}">
107+
Command="{x:Bind ViewModel.CopyMessageCommand, Mode=OneWay}">
108108
<StackPanel Orientation="Horizontal" Spacing="4">
109109
<icons:RegularFluentIcon
110110
VerticalAlignment="Center"

src/Wfa.App/Controls/Market/LibraryMarketButton.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</StackPanel>
2828
<Button.Flyout>
2929
<Flyout FlyoutPresenterStyle="{StaticResource ThinPaddingFlyoutPresenterStyle}" Placement="Bottom">
30-
<muxc:ItemsRepeater ItemsSource="{x:Bind ViewModel.MarketItems}">
30+
<muxc:ItemsRepeater ItemsSource="{x:Bind ViewModel.MarketItems, Mode=OneWay}">
3131
<muxc:ItemsRepeater.Layout>
3232
<muxc:StackLayout Spacing="2" />
3333
</muxc:ItemsRepeater.Layout>

src/Wfa.App/Controls/Market/LichOrder.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
d:DesignWidth="400"
1313
mc:Ignorable="d">
1414

15-
<app:CardPanel Command="{x:Bind ViewModel.OpenOrderCommand}" IsEnableHoverAnimation="False">
15+
<app:CardPanel Command="{x:Bind ViewModel.OpenOrderCommand, Mode=OneWay}" IsEnableHoverAnimation="False">
1616
<Grid Padding="16">
1717
<Grid.RowDefinitions>
1818
<RowDefinition Height="Auto" />

src/Wfa.App/Controls/Market/RivenOrder.xaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@
55
xmlns:app="using:Wfa.App.Controls.App"
66
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
77
xmlns:ext="using:Wfa.App.Resources.Extensions"
8-
xmlns:icons="using:Richasy.FluentIcon.Uwp"
98
xmlns:local="using:Wfa.App.Controls.Market"
109
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
1110
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
1211
d:DesignHeight="300"
1312
d:DesignWidth="400"
1413
mc:Ignorable="d">
1514

16-
<app:CardPanel Command="{x:Bind ViewModel.OpenOrderCommand}" IsEnableHoverAnimation="False">
15+
<app:CardPanel Command="{x:Bind ViewModel.OpenOrderCommand, Mode=OneWay}" IsEnableHoverAnimation="False">
1716
<Grid Padding="16" RowSpacing="4">
1817
<Grid.RowDefinitions>
1918
<RowDefinition Height="Auto" />

0 commit comments

Comments
 (0)