-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 exporting PNG or SVG files with multiple pages #18377
Fix exporting PNG or SVG files with multiple pages #18377
Conversation
return excerpt->notation() == notation; | ||
}); | ||
|
||
if (it == potentialExcerpts.cend()) { | ||
return notations.front()->elements()->pages().size(); | ||
return notations.front()->elements()->pages().size() == 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why this didn't lead to a compiler warning, returning a size_t
where a bool
is wanted
@cbjeukendrup It looks good now, but I found a case where it still happens: if to switch score to Continuous view (horizontal/vertical) bandicam.2023-07-04.14-58-24-232.mp4 |
Shouldn't the export always temporarily switch to page view? IIRC that is what Mu3 did Edit: ah, it does that already, just not when counting pages |
…tly viewed in Continuous view
53cbd92
to
c4add76
Compare
@DmitryArefiev That should be better now! |
@cbjeukendrup Yes, looks good now! Tested #18369 on Win10, Mac13, LinuxUbuntu 22.04 - FIXED |
Resolves: #18369
🤦