Skip to content

Commit

Permalink
fix(links): ignore the case when look-up for an anchor (Inlyne-Projec…
Browse files Browse the repository at this point in the history
  • Loading branch information
0x61nas authored and CosmicHorrorDev committed Apr 6, 2024
1 parent 58e4a56 commit 2514ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ impl Inlyne {
}
}
} else if let Some(anchor_pos) =
self.renderer.positioner.anchors.get(link)
self.renderer.positioner.anchors.get(&link.to_lowercase())
{
self.renderer.set_scroll_y(*anchor_pos);
self.window.request_redraw();
Expand Down

0 comments on commit 2514ea7

Please sign in to comment.