mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-30 21:23:24 +08:00
mind多个根节点的时候,切换模式的修复
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
</Style>
|
||||
|
||||
<ControlTemplate x:Key="MindNodeLevelStyle" TargetType="{x:Type ContentControl}">
|
||||
<Grid>
|
||||
<Grid>
|
||||
<Grid.ContextMenu>
|
||||
<ContextMenu ItemsSource="{Binding MenuOptions}">
|
||||
<ContextMenu.ItemContainerStyle>
|
||||
@@ -57,12 +57,12 @@
|
||||
</ContextMenu>
|
||||
</Grid.ContextMenu>
|
||||
|
||||
<Grid>
|
||||
<Grid>
|
||||
<Border BorderThickness="{Binding BorderThickness}"
|
||||
BorderBrush="{Binding ColorViewModel.LineColor,Converter={StaticResource ColorBrushConverter}}"
|
||||
Background="{Binding ColorViewModel.FillColor,Converter={StaticResource ColorBrushConverter}}"
|
||||
CornerRadius="{Binding CornerRadius}"
|
||||
IsHitTestVisible="False">
|
||||
IsHitTestVisible="False">
|
||||
</Border>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
|
||||
Reference in New Issue
Block a user