Skip to content

Keep the toolbar handle in bounds #1472

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

Merged
merged 2 commits into from
May 14, 2021
Merged

Keep the toolbar handle in bounds #1472

merged 2 commits into from
May 14, 2021

Conversation

matthiask
Copy link
Member

No description provided.

matthiask added 2 commits May 14, 2021 17:48
- The additional translateY makes djdt.top=0 move the handle to the top
  of the browser window.
- Because the handle is rotated we have to subtract its offsetWidth, not
  its offsetHeight to keep it in bounds at the bottom of the window.
@codecov
Copy link

codecov bot commented May 14, 2021

Codecov Report

Merging #1472 (ebd4ae3) into main (4e3d12f) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1472   +/-   ##
=======================================
  Coverage   86.23%   86.23%           
=======================================
  Files          35       35           
  Lines        1853     1853           
  Branches      260      260           
=======================================
  Hits         1598     1598           
  Misses        182      182           
  Partials       73       73           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4e3d12f...ebd4ae3. Read the comment docs.

@matthiask
Copy link
Member Author

Thanks!

@matthiask matthiask merged commit ebd4ae3 into main May 14, 2021
@matthiask matthiask deleted the 1471-handle-in-bounds branch May 14, 2021 17:57
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