Disable multi-selection using Shift key in WORKSPACE

This commit is contained in:
leo 2020-07-14 09:47:24 +08:00
parent f8bb65ce47
commit 3f2624dfb8

View file

@ -148,7 +148,8 @@
Grid.Row="1" Grid.Row="1"
x:Name="workspace" x:Name="workspace"
Background="{StaticResource Brush.BG3}" Background="{StaticResource Brush.BG3}"
Style="{StaticResource Style.ListView.Borderless}"> Style="{StaticResource Style.ListView.Borderless}"
SelectionMode="Single">
<ListViewItem x:Name="historiesSwitch" Selected="SwitchHistories" IsSelected="True"> <ListViewItem x:Name="historiesSwitch" Selected="SwitchHistories" IsSelected="True">
<StackPanel Margin="16,0,0,0" Orientation="Horizontal"> <StackPanel Margin="16,0,0,0" Orientation="Horizontal">
<Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Histories}"/> <Path Style="{StaticResource Style.Icon}" Data="{StaticResource Icon.Histories}"/>