Remove stray dbg! expressions
This commit is contained in:
parent
ab3bbe1e17
commit
eb99588368
2 changed files with 1 additions and 6 deletions
|
@ -1152,10 +1152,7 @@ pub mod tests {
|
||||||
*markers[0].column_mut() += 1;
|
*markers[0].column_mut() += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
assert_eq!(
|
assert_eq!(unmarked_snapshot.clip_point(markers[0], bias), markers[1])
|
||||||
unmarked_snapshot.clip_point(dbg!(markers[0]), bias),
|
|
||||||
markers[1]
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -259,8 +259,6 @@ impl Element for Flex {
|
||||||
if *remaining_space < 0. && bounds.contains_point(position) {
|
if *remaining_space < 0. && bounds.contains_point(position) {
|
||||||
if let Some(scroll_state) = self.scroll_state.as_ref() {
|
if let Some(scroll_state) = self.scroll_state.as_ref() {
|
||||||
scroll_state.update(cx, |scroll_state, cx| {
|
scroll_state.update(cx, |scroll_state, cx| {
|
||||||
dbg!(precise, delta);
|
|
||||||
|
|
||||||
let mut delta = match self.axis {
|
let mut delta = match self.axis {
|
||||||
Axis::Horizontal => {
|
Axis::Horizontal => {
|
||||||
if delta.x() != 0. {
|
if delta.x() != 0. {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue