Skip to content

egui_plot: Fix the same plot tick label being painted multiple times#4307

Merged
emilk merged 1 commit into
masterfrom
emilk/fix-plot-tick-overdraw
Apr 2, 2024
Merged

egui_plot: Fix the same plot tick label being painted multiple times#4307
emilk merged 1 commit into
masterfrom
emilk/fix-plot-tick-overdraw

Conversation

@emilk
Copy link
Copy Markdown
Owner

@emilk emilk commented Apr 2, 2024

Usually this isn't visible (the same label being painted on top of itself), but it will be visible if the user has a custom formatter (e.g. y_axis_formatter) that choses a different format based on GridMark:step_size (e.g. using fewer decimals for thicker ticks).

Usually this isn't visible (the same label being painted on top of
itself), but it will be visible if the user has a custom formatter
(e.g. `y_axis_formatter`) that choses a different format based on
`GridMark:step_size` (e.g. using fewer decimals for thicker ticks).
@emilk emilk added bug Something is broken egui_plot Related to egui_plot labels Apr 2, 2024
@emilk emilk merged commit 36ebce1 into master Apr 2, 2024
@emilk emilk deleted the emilk/fix-plot-tick-overdraw branch April 2, 2024 13:37
emilk added a commit that referenced this pull request Apr 2, 2024
…#4307)

Usually this isn't visible (the same label being painted on top of
itself), but it will be visible if the user has a custom formatter (e.g.
`y_axis_formatter`) that choses a different format based on
`GridMark:step_size` (e.g. using fewer decimals for thicker ticks).
@emilk emilk changed the title egui_plots: Fix the same plot tick label being painted multiple times egui_plot: Fix the same plot tick label being painted multiple times Apr 2, 2024
@emilk emilk mentioned this pull request Apr 2, 2024
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
…emilk#4307)

Usually this isn't visible (the same label being painted on top of
itself), but it will be visible if the user has a custom formatter (e.g.
`y_axis_formatter`) that choses a different format based on
`GridMark:step_size` (e.g. using fewer decimals for thicker ticks).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something is broken egui_plot Related to egui_plot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant