Skip to content

🐞 Layout Pass Protection #58

Closed
@thecoolwinter

Description

@thecoolwinter

Description

Our layout method breaks when reentering the function while a layout pass is ongoing. This has caused bugs related to newline processing, frame changing, and more. Recently a debug assertion was added to ensure the layout pass is begun again while a pass is already in progress.

There are still a few more delegate methods that don't need protection but are still inside the protected area. These delegate methods should be safe to move outside of the protected area, as the internal data structures for line layout at the point that they are being called have been finalized.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

🏁 Complete

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions