New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug]: Stacks are not properly getting anchored #6000
Comments
--- a/designs/lumina/src/waistband.mjs
+++ b/designs/lumina/src/waistband.mjs
@@ -70,6 +70,16 @@ export const waistband = {
return part.hide()
}
+ // Normalize part location relative to anchor
+ const ydiff = points.waistBack.y
+ points.waistBack = points.waistBack.shift(90, ydiff)
+ points.waistFront = points.waistFront.shift(90, ydiff)
+ points.waistFrontCP = points.waistFrontCP.shift(90, ydiff)
+ points.waistBackCP = points.waistBackCP.shift(90, ydiff)
+ paths.waist = new Path()
+ .move(points.waistBack)
+ .curve(points.waistBackCP, points.waistFrontCP, points.waistFront)
+
points.waistbandFront = points.waistFront.shift(270 + angle, waistbandSize)
points.waistbandBack = points.waistBack.shift(270 - angle, waistbandSize)
|
// Add transform
//this.anchor = this.getAnchor()
// FIXME: Can we be certain this is always (0,0) /
this.anchor = new Point(0, 0) The change to hardcoded (0, 0) was made on 2023-09-17 via #2827 and 0b18d81. |
Yes, that's the bug, or rather, it was never fully implemented. So, I think that we should fix that and implement proper anchor support in stacks. |
What seems to be the problem? 馃
From #5991 (comment):
(I don't know anything else about this possible problem.)
Design / Plugin / Package 馃
packages/core
Additional context
No response
The text was updated successfully, but these errors were encountered: