You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
place() / move() inside locate() shifts the returned position #1833
bugSomething isn't workingintrospectionRelated to the introspection categorylayoutRelated to the layout category, which is about composing, positioning, etc.
I discovered that using place() inside a call to locate() changes the position that is reported.
Minimal Repro:
#locate(loc=> {
//[text] // try uncommenting thisplace(right+bottom, circle()) // try commenting this line out
[#loc.position()]
})
This reports coordinates which lie in the bottom right corner of the page.
I do not expect this behavior:
According to my understanding, locate() should capture the position at the time of the call, which is in the top left corner.
The problem only happens when the first content-creating call is place() or move().
Any subsequent place()/move() calls do not have an effect. Also placing text content first solves the problem.
changed the title [-]place() / move() inside locate() shifts the returned position[/-][+]`place()` / `move()` inside `locate()` shifts the returned position[/+]on Jul 16, 2024
bugSomething isn't workingintrospectionRelated to the introspection categorylayoutRelated to the layout category, which is about composing, positioning, etc.
Activity
[-]place() / move() inside locate() shifts the returned position[/-][+]`place()` / `move()` inside `locate()` shifts the returned position[/+]