Skip to content

Commit

Permalink
removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
togglebyte committed Nov 14, 2023
1 parent 36895c3 commit 1d80f84
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions src/widgets/tilemap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ where
}

fn hover(&mut self, local: Point<Px>, context: &mut EventContext<'_, '_>) {
// translate location to local location
// * effective zoom

let Some(size) = context.last_layout().map(|rect| rect.size) else { return };

let offset = self.layers.map(|layers| self.focus.get().world_coordinate(layers));
Expand Down

0 comments on commit 1d80f84

Please sign in to comment.