stack: Fix crash by (temporarily) ignoring assert
This commit is contained in:
parent
9f8fc6456c
commit
aaa40df963
1 changed files with 1 additions and 1 deletions
|
|
@ -797,7 +797,7 @@ where
|
||||||
let current_start = offset.x;
|
let current_start = offset.x;
|
||||||
let current_end = current_start + scroll_width;
|
let current_end = current_start + scroll_width;
|
||||||
|
|
||||||
assert!((right_offset - left_offset) <= (current_end - current_start));
|
//assert!((right_offset - left_offset) <= (current_end - current_start));
|
||||||
if (left_offset - current_start).is_sign_negative()
|
if (left_offset - current_start).is_sign_negative()
|
||||||
|| (current_end - right_offset).is_sign_negative()
|
|| (current_end - right_offset).is_sign_negative()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue