avm2: Rectangle fix clippy
This commit is contained in:
parent
cf3f02a9ce
commit
8e596c2a35
|
@ -383,7 +383,7 @@ fn contains_tuple<'gc>(
|
||||||
let top = get_prop!(*this, activation, "y")?;
|
let top = get_prop!(*this, activation, "y")?;
|
||||||
let bottom = get_prop!(*this, activation, "height")? + top;
|
let bottom = get_prop!(*this, activation, "height")? + top;
|
||||||
|
|
||||||
return Ok(left <= x && x < right && top <= y && y < bottom);
|
Ok(left <= x && x < right && top <= y && y < bottom)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Implement `contains`
|
/// Implement `contains`
|
||||||
|
|
Loading…
Reference in New Issue