Skip to content

Commit fc35572

Browse files
committed
Merge branch 'develop'
2 parents 7847467 + 52ea53b commit fc35572

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

SimpleStateMachineNodeEditor/SimpleStateMachineNodeEditor.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
Some optimization
2222
Feature with opacity
2323
Custom for drag and drop textbox
24-
Undo - Redo for renaming</PackageReleaseNotes>
24+
Undo - Redo for renaming
25+
Validating for exists Nodes without connects</PackageReleaseNotes>
2526
</PropertyGroup>
2627

2728
<ItemGroup>

SimpleStateMachineNodeEditor/View/MainWindow.xaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@
4545
</MenuItem.Icon>
4646
</MenuItem>
4747
<MenuItem Header="Export" x:Name="ItemExport" Style="{DynamicResource StyleMenuItem}">
48-
<MenuItem.Icon>
49-
<Rectangle Fill="{DynamicResource IconExportScheme}" Height="15" Width="15"/>
50-
</MenuItem.Icon>
51-
<!--<MenuItem Header="Export to PNG" x:Name="ItemExportToPNG" Style="{DynamicResource StyleMenuItem}"/>-->
52-
<MenuItem Header="Export to PNG" x:Name="ItemExportToPNG" Style="{DynamicResource StyleMenuItem}"/>
48+
<MenuItem.Icon>
49+
<Rectangle Fill="{DynamicResource IconExportScheme}" Height="15" Width="15"/>
50+
</MenuItem.Icon>
51+
<MenuItem Header="Export to PNG" x:Name="ItemExportToPNG" Style="{DynamicResource StyleMenuItem}"/>
52+
<MenuItem Header="Export to JPEG" x:Name="ItemExportToJPEG" Style="{DynamicResource StyleMenuItem}"/>
5353
</MenuItem>
5454
<Separator Background="{DynamicResource ColorSeparator}"/>
5555
<MenuItem Header="Exit" x:Name="ItemExit" InputGestureText="Alt+F4" Style="{DynamicResource StyleMenuItem}">

SimpleStateMachineNodeEditor/View/MainWindow.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ private void SetupBinding()
9393
this.BindCommand(this.ViewModel, x => x.NodesCanvas.CommandExportToPNG, x => x.ButtonExportToPNG).DisposeWith(disposable);
9494

9595
this.BindCommand(this.ViewModel, x => x.NodesCanvas.CommandExportToJPEG, x => x.BindingExportToJPEG).DisposeWith(disposable);
96+
this.BindCommand(this.ViewModel, x => x.NodesCanvas.CommandExportToJPEG, x => x.ItemExportToJPEG).DisposeWith(disposable);
9697

9798
this.BindCommand(this.ViewModel, x => x.NodesCanvas.CommandNew, x => x.BindingNew).DisposeWith(disposable);
9899
this.BindCommand(this.ViewModel, x => x.NodesCanvas.CommandNew, x => x.ItemNew).DisposeWith(disposable);

0 commit comments

Comments
 (0)