File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
SimpleStateMachineNodeEditor Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ ReactiveUI 11.4.17</PackageReleaseNotes>
6969 <PackageReference Include =" ReactiveUI.WPF" Version =" 11.4.17" />
7070 <PackageReference Include =" Splat" Version =" 9.4.5" />
7171 <PackageReference Include =" Splat.Drawing" Version =" 9.4.5" />
72+ <PackageReference Include =" Wpf.Controls.PanAndZoom" Version =" 2.3.3" />
7273 </ItemGroup >
7374
7475 <ItemGroup >
Original file line number Diff line number Diff line change 66 xmlns : local =" clr-namespace:SimpleStateMachineNodeEditor.View"
77 xmlns : View =" clr-namespace:SimpleStateMachineNodeEditor.View"
88 xmlns : ViewModel =" clr-namespace:SimpleStateMachineNodeEditor.ViewModel"
9+ xmlns : paz =" clr-namespace:Wpf.Controls.PanAndZoom;assembly=Wpf.Controls.PanAndZoom"
910 mc : Ignorable =" d"
1011 d : DesignHeight =" 450" d : DesignWidth =" 800" Focusable =" True" AllowDrop =" True" ClipToBounds =" True" >
11-
12- <Canvas x : Name =" Canvas" Background =" {DynamicResource ColorNodesCanvasBackground}" >
12+ <paz : ZoomBorder Name =" zoomBorder" Stretch =" None" ZoomSpeed =" 1.2"
13+ Background =" SlateBlue" ClipToBounds =" True" Focusable =" True"
14+ VerticalAlignment =" Stretch" HorizontalAlignment =" Stretch"
15+ Grid.Row=" 4" Grid.Column=" 1" >
16+ <Canvas x : Name =" Canvas" Background =" {DynamicResource ColorNodesCanvasBackground}" >
1317
1418 <local : ViewSelector x : Name =" Selector" Panel.ZIndex=" 999" />
1519 <local : ViewCutter x : Name =" Cutter" Panel.ZIndex=" 999" />
5155 </ItemsControl .ItemsSource>
5256 </ItemsControl >
5357 </Canvas >
58+ </paz : ZoomBorder >
5459 <UserControl .ContextMenu >
5560 <ContextMenu Template =" {DynamicResource TemplateContextMenu}" Background =" {DynamicResource ColorMenuBackground}" Foreground =" {DynamicResource ColorMenuForeground}" BorderBrush =" {DynamicResource ColorMenuBorder}" OpacityMask =" {DynamicResource ColorMenuBackgroundMouseOver}" BorderThickness =" 1" HorizontalAlignment =" Left" VerticalAlignment =" Center" >
5661 <MenuItem Header =" Add" x : Name =" ItemAddNode" InputGestureText =" Ctrl + N" Style =" {DynamicResource StyleContextMenuItem}" >
You can’t perform that action at this time.
0 commit comments