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

Fixes for 3.2.55 (tier 3) #279

Merged
merged 6 commits into from
Apr 19, 2021
Merged

Fixes for 3.2.55 (tier 3) #279

merged 6 commits into from
Apr 19, 2021

Conversation

virxkane
Copy link
Collaborator

@virxkane virxkane commented Apr 18, 2021

  • Don't call onCancel listener in 'check download setting' dialog if positive or negative button is pressed.
  • Synchronization: deleting the lock file on failure or cancellation.
  • Synchronizer related: fixed scanning of just downloaded books in zip-archive.
  • InputDialog: the cursor position is retained while dragging the slider.

@virxkane virxkane marked this pull request as draft April 18, 2021 22:36
@virxkane virxkane marked this pull request as ready for review April 19, 2021 07:13
@buggins buggins merged commit 55a55c6 into buggins:master Apr 19, 2021
@virxkane virxkane deleted the cr3.2.55-fixes-3 branch April 21, 2021 20:43
Comment on lines -1648 to +1649
if ( !isHyphen ) // avoid soft hyphens inside text string
prev_width = cur_width;
prev_width = cur_width;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this change voluntary ? Or is this taken care of elsewhere?
I think isHyphen maks soft-hyphens, that is a glyph that has a width. We don't draw them, so keeping their width in measureText() (as you're doing now here) might result in measureText() measuring words larger that what they will be when drawn.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is dead code.

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.

3 participants