mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-20 12:17:42 -05:00
feat(shape-library): give the preview's part and dimensions more room
The fitted drawing and its dimensions now keep 30 px from the preview's border instead of 10, and at least 20 px from the info lines and note chips. Linear dimensions sit 50 px off the part by default instead of 18, and leader labels 30 px instead of 20. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
99e8dc3d0e
commit
17c496795e
2 files changed
+13
-6
No files matched your search
@@ -221,7 +221,7 @@ public class ShapeLibraryFormTests
|
||||
// The length sits below the drawing: it may come closer, never above its bottom edge.
|
||||
var after = preview.LabelBounds("Length")!.Value;
|
||||
Assert.True(after.Y < before.Y);
|
||||
Assert.True(after.Y > before.Y - 20);
|
||||
Assert.True(after.Y > before.Y - 50);
|
||||
});
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in new issue
Block a user