mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Replace cargo check with cargo clippy on ci (#7581)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -2497,6 +2497,7 @@ impl ContextImpl {
|
||||
|
||||
if self.memory.options.repaint_on_widget_change {
|
||||
profiling::scope!("compare-widget-rects");
|
||||
#[allow(clippy::allow_attributes, clippy::collapsible_if)] // false positive on wasm
|
||||
if viewport.prev_pass.widgets != viewport.this_pass.widgets {
|
||||
repaint_needed = true; // Some widget has moved
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user