Skip to content

Commit

Permalink
fix: surface signifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
technobaboo committed Aug 12, 2024
1 parent e3c16fc commit d2b0b6c
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,24 +469,8 @@ impl SurfaceInput {
self.pointer_hover
.iter()
.filter(|_| self.touch.interact().current().is_empty())
// .filter(|i| self.middle_click.hovering().current().contains(*i))
// .filter(|i| self.right_click.hovering().current().contains(*i))
.filter_map(|p| self.line_from_input(&p, p.captured))
.collect::<Vec<_>>()

// only show the closest hover?
// let mut hovered_lines = self
// .hover
// .currently_acting()
// .iter()
// .filter_map(|i| self.line_from_input(i, false))
// .collect::<Vec<_>>();
// if let Some(input) = &self.pointer_hover {
// if let Some(line) = self.line_from_input(&input, true) {
// hovered_lines.push(line);
// }
// }
// hovered_lines
}
fn line_from_input(&self, input: &InputData, interacting: bool) -> Option<Line> {
if let InputDataType::Pointer(_) = &input.input {
Expand Down

0 comments on commit d2b0b6c

Please sign in to comment.