1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

clippy fix

This commit is contained in:
Emil Ernerfeldt
2021-09-08 23:40:44 +02:00
parent a76b81647c
commit ae6418edf3

View File

@@ -358,12 +358,12 @@ impl Response {
return false; return false;
} }
if self.ctx.style().interaction.show_tooltips_only_when_still { if self.ctx.style().interaction.show_tooltips_only_when_still
if !self.ctx.input().pointer.is_still() { && !self.ctx.input().pointer.is_still()
// wait for mouse to stop {
self.ctx.request_repaint(); // wait for mouse to stop
return false; self.ctx.request_repaint();
} return false;
} }
// We don't want tooltips of things while we are dragging them, // We don't want tooltips of things while we are dragging them,