Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: export axes to PDF #999

Merged
merged 1 commit into from
Aug 13, 2024
Merged

Conversation

letsfindaway
Copy link
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