Change summary
crates/editor/src/display_map.rs | 5 +----
crates/gpui/src/elements/flex.rs | 2 --
2 files changed, 1 insertion(+), 6 deletions(-)
Detailed changes
@@ -1152,10 +1152,7 @@ pub mod tests {
*markers[0].column_mut() += 1;
}
- assert_eq!(
- unmarked_snapshot.clip_point(dbg!(markers[0]), bias),
- markers[1]
- )
+ assert_eq!(unmarked_snapshot.clip_point(markers[0], bias), markers[1])
}
};
}
@@ -259,8 +259,6 @@ impl Element for Flex {
if *remaining_space < 0. && bounds.contains_point(position) {
if let Some(scroll_state) = self.scroll_state.as_ref() {
scroll_state.update(cx, |scroll_state, cx| {
- dbg!(precise, delta);
-
let mut delta = match self.axis {
Axis::Horizontal => {
if delta.x() != 0. {