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

Update egui to 0.24 #75

Merged
merged 5 commits into from
Dec 11, 2023
Merged

Update egui to 0.24 #75

merged 5 commits into from
Dec 11, 2023

Conversation

white-axe
Copy link
Collaborator

Description
Now that catppuccin-egui has updated their egui dependency, we can as well. This pull request updates egui to 0.24.1 and merges from upstream eframe and egui-wgpu 0.24.1.

Checklist

  • Run cargo fmt.
  • Run cargo clippy. If applicable, add:
    • --target wasm32-unknown-unknown
  • Run cargo build --release
  • If applicable, run trunk build --release

@white-axe white-axe added the dependencies Pull requests that update a dependency file label Dec 10, 2023
@white-axe white-axe requested a review from a team as a code owner December 10, 2023 05:22
My computer is one of those that get blurry web rendering when the width
of the canvas is an odd number of pixels. But in this modified version
of eframe's web runner, rounding the width to an even number of pixels
is actually what's causing the blurry rendering, so I've removed it.
@melody-rs melody-rs merged commit b189726 into Astrabit-ST:dev Dec 11, 2023
5 checks passed
@white-axe white-axe deleted the update-egui branch December 11, 2023 03:35
white-axe added a commit to white-axe/Luminol that referenced this pull request Dec 13, 2023
In egui 0.24, the scrollbars no longer take up any space by default and
only appear when you hover over where the scrollbar is supposed to be.
So since Astrabit-ST#75, the tilepicker width was incorrectly
including the width of the scrollbar in the width calculation, making
the tilepicker too wide. This removes the width of the scrollbar from
the tilepicker width formula so that the tilepicker default width and
maximum width are calculated correctly.
@white-axe white-axe mentioned this pull request Dec 13, 2023
5 tasks
melody-rs pushed a commit that referenced this pull request Dec 13, 2023
* Fix tilepicker being too wide by default

In egui 0.24, the scrollbars no longer take up any space by default and
only appear when you hover over where the scrollbar is supposed to be.
So since #75, the tilepicker width was incorrectly
including the width of the scrollbar in the width calculation, making
the tilepicker too wide. This removes the width of the scrollbar from
the tilepicker width formula so that the tilepicker default width and
maximum width are calculated correctly.

* Fix tilepicker scroll position changing when map is modified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants