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

Add restore button to mini mode #78

Merged
merged 2 commits into from
May 31, 2024
Merged

Conversation

neilenns
Copy link
Contributor

Fixes #76

  • Adds a new MiniModeToggleButton component
  • Replace the existing button in the navbar with the new component
  • Use the new component in mini mode with some additional CSS to show the mini mode toggle button when the mouse enters the mini mode window

mousewheel

Note that restoring using the button doesn't work on Windows. Neither does CTRL+M. The restore function gets called but the window doesn't change size. I'm not addressing that in this PR since it's unrelated to my changes, I'll open a separate issue for it.


return (
<button
className="btn btn-primary m-2"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed the hide-gain-value class from this, it didn't seem to do anything. Maybe it was a copy/paste error in the prior code?

@pierr3 pierr3 merged commit 8efe8e9 into pierr3:main May 31, 2024
3 checks passed
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.

Add restore button to mini mode
2 participants