clippy fix
This commit is contained in:
parent
a76b81647c
commit
ae6418edf3
1 changed files with 6 additions and 6 deletions
|
@ -358,13 +358,13 @@ impl Response {
|
|||
return false;
|
||||
}
|
||||
|
||||
if self.ctx.style().interaction.show_tooltips_only_when_still {
|
||||
if !self.ctx.input().pointer.is_still() {
|
||||
if self.ctx.style().interaction.show_tooltips_only_when_still
|
||||
&& !self.ctx.input().pointer.is_still()
|
||||
{
|
||||
// wait for mouse to stop
|
||||
self.ctx.request_repaint();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
// We don't want tooltips of things while we are dragging them,
|
||||
// but we do want tooltips while holding down on an item on a touch screen.
|
||||
|
|
Loading…
Reference in a new issue