mirror of
https://github.com/emilk/egui.git
synced 2026-07-11 17:18:55 +00:00
7b105cfa0f
Apparently the font implementation uses a distance check to decide if the font(or whatever) need recalculations, after dpi changed: https://github.com/emilk/egui/blob/8d4de866d4da1835b31e85f9068a5257e6ccbccb/crates/epaint/src/text/fonts.rs#L381-L382 This leads to warnings when the pixel_per_point diff is very low and spams the log. (<- this happens for me if i resize my window on kwin, e.g. maximize it) (I don't want to debate if the float difference generally makes sense, so if you want to rework that instead just close this pr)