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/Controls/Tools/ToolPatternControl.axaml.cs')
-rw-r--r--UVtools.WPF/Controls/Tools/ToolPatternControl.axaml.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/UVtools.WPF/Controls/Tools/ToolPatternControl.axaml.cs b/UVtools.WPF/Controls/Tools/ToolPatternControl.axaml.cs
index cb29ad4..319ec32 100644
--- a/UVtools.WPF/Controls/Tools/ToolPatternControl.axaml.cs
+++ b/UVtools.WPF/Controls/Tools/ToolPatternControl.axaml.cs
@@ -21,7 +21,7 @@ namespace UVtools.WPF.Controls.Tools
{
InitializeComponent();
var roi = App.MainWindow.ROI;
- BaseOperation = new OperationPattern(roi.IsEmpty ? App.SlicerFile.LayerManager.BoundingRectangle : roi, App.SlicerFile.Resolution);
+ BaseOperation = new OperationPattern(SlicerFile, roi);
if (Operation.MaxRows < 2 && Operation.MaxCols < 2)
{