removed comment

This commit is contained in:
Togglebit 2023-11-14 08:23:09 +01:00
parent 36895c3897
commit 1d80f8467c
2 changed files with 0 additions and 4 deletions

1
Cargo.lock generated
View file

@ -728,7 +728,6 @@ dependencies = [
"kludgine", "kludgine",
"palette", "palette",
"pollster", "pollster",
"rustix",
"tracing", "tracing",
"tracing-subscriber", "tracing-subscriber",
] ]

View file

@ -127,9 +127,6 @@ where
} }
fn hover(&mut self, local: Point<Px>, context: &mut EventContext<'_, '_>) { 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 Some(size) = context.last_layout().map(|rect| rect.size) else { return };
let offset = self.layers.map(|layers| self.focus.get().world_coordinate(layers)); let offset = self.layers.map(|layers| self.focus.get().world_coordinate(layers));