Fix warnings
This commit is contained in:
parent
3f09e17156
commit
2a679ab96f
3 changed files with 2 additions and 3 deletions
|
|
@ -343,7 +343,6 @@ where
|
|||
let mut hover = false;
|
||||
if let Some(p) = cursor_position.position_in(layout.bounds()) {
|
||||
let x = p.x - self.padding.left;
|
||||
let y = p.y - self.padding.top;
|
||||
if x >= scrollbar_rect.x && x < (scrollbar_rect.x + scrollbar_rect.width) {
|
||||
hover = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue