mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 15:20:05 -04:00
Update to Rust 1.65 (#2314)
* Update to Rust 1.65 Because then you can use dynamic linking on Linux * Fix a bunch of clippy lints * Update changelogs * More clippy fixes
This commit is contained in:
@@ -96,7 +96,7 @@ impl FrameHistory {
|
||||
let cpu_usage = to_screen.inverse().transform_pos(pointer_pos).y;
|
||||
let text = format!("{:.1} ms", 1e3 * cpu_usage);
|
||||
shapes.push(Shape::text(
|
||||
&*ui.fonts(),
|
||||
&ui.fonts(),
|
||||
pos2(rect.left(), y),
|
||||
egui::Align2::LEFT_BOTTOM,
|
||||
text,
|
||||
|
||||
Reference in New Issue
Block a user