Remove stray dbg! expressions

This commit is contained in:
Nathan Sobo 2022-04-05 20:02:45 -06:00
parent ab3bbe1e17
commit eb99588368
2 changed files with 1 additions and 6 deletions

View file

@ -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]
)
} }
}; };
} }

View file

@ -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. {