Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.WPF/MainWindow.axaml.cs')
-rw-r--r--UVtools.WPF/MainWindow.axaml.cs19
1 files changed, 17 insertions, 2 deletions
diff --git a/UVtools.WPF/MainWindow.axaml.cs b/UVtools.WPF/MainWindow.axaml.cs
index 22a966e..cdbc8de 100644
--- a/UVtools.WPF/MainWindow.axaml.cs
+++ b/UVtools.WPF/MainWindow.axaml.cs
@@ -21,7 +21,6 @@ using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
-using Avalonia.Controls.Primitives;
using UVtools.AvaloniaControls;
using UVtools.Core;
using UVtools.Core.Extensions;
@@ -293,6 +292,14 @@ namespace UVtools.WPF
},
new()
{
+ Tag = new OperationCalibrateLiftHeight(),
+ Icon = new Avalonia.Controls.Image
+ {
+ Source = new Bitmap(App.GetAsset("/Assets/Icons/long-arrow-alt-up-16x16.png"))
+ }
+ },
+ new()
+ {
Tag = new OperationCalibrateTolerance(),
Icon = new Avalonia.Controls.Image
{
@@ -353,6 +360,14 @@ namespace UVtools.WPF
},
new()
{
+ Tag = new OperationLayerExportImage(),
+ Icon = new Avalonia.Controls.Image
+ {
+ Source = new Bitmap(App.GetAsset("/Assets/Icons/file-image-16x16.png"))
+ }
+ },
+ new()
+ {
Tag = new OperationLayerExportGif(),
Icon = new Avalonia.Controls.Image
{
@@ -1245,7 +1260,7 @@ namespace UVtools.WPF
_showLayerImageRotated = mat.Height > mat.Width;
}
- if (SlicerFile.MirrorDisplay)
+ if (SlicerFile.DisplayMirror)
{
_showLayerImageFlipped = true;
}