Skip to content

fix: export axes to PDF#999

Merged
kaamui merged 1 commit intoOpenBoard-org:devfrom
letsfindaway:fix-export-axes
Aug 13, 2024
Merged

fix: export axes to PDF#999
kaamui merged 1 commit intoOpenBoard-org:devfrom
letsfindaway:fix-export-axes

Conversation

@letsfindaway
Copy link
Copy Markdown
Collaborator

When exporting a document containing axes to PDF, the axes are not exported. They are currently treated as a tool like the ruler or compass, which do not belong to the page content. However he axes are different. They are an integral part of the page content and should be exported.

This PR avoids registering axes as a tool when creating them and when loading a document page containing axes.

This PR is related to #924. It only addresses the axes tool, where it is evident that it is part of the page content. For other tools like ruler, protractor or triangle it can still be discussed whether they should be part of the PDF export.

- do not register axes as a tool when creating
- do not register axes as a tool when loading a page
@kaamui kaamui merged commit 8c6e16d into OpenBoard-org:dev Aug 13, 2024
@letsfindaway letsfindaway deleted the fix-export-axes branch August 13, 2024 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants