diff options
author | Daniel Sedlak | 2023-04-07 15:10:38 +0000 |
---|---|---|
committer | GitHub | 2023-04-07 15:10:38 +0000 |
commit | e856906f766aa6d58aba6f6bca9e2e1879b1629d (patch) | |
tree | 59befeebf031ab8de57df97f836bf08ccb7085f2 /helix-term/src/ui/overlay.rs | |
parent | 1148ce1fd9941e00bd416bce1f06a987d0e7b5f2 (diff) |
Fix typos (#6643)
Diffstat (limited to 'helix-term/src/ui/overlay.rs')
-rw-r--r-- | helix-term/src/ui/overlay.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/overlay.rs b/helix-term/src/ui/overlay.rs index 5b2bc806..ff184d40 100644 --- a/helix-term/src/ui/overlay.rs +++ b/helix-term/src/ui/overlay.rs @@ -16,7 +16,7 @@ pub struct Overlay<T> { } /// Surrounds the component with a margin of 5% on each side, and an additional 2 rows at the bottom -pub fn overlayed<T>(content: T) -> Overlay<T> { +pub fn overlaid<T>(content: T) -> Overlay<T> { Overlay { content, calc_child_size: Box::new(|rect: Rect| clip_rect_relative(rect.clip_bottom(2), 90, 90)), |