Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-view/src/ui/overlay.rs')
-rw-r--r--helix-view/src/ui/overlay.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-view/src/ui/overlay.rs b/helix-view/src/ui/overlay.rs
index 0b13212e..8f534b60 100644
--- a/helix-view/src/ui/overlay.rs
+++ b/helix-view/src/ui/overlay.rs
@@ -55,6 +55,9 @@ impl<T: Component + 'static> compositor::term::Render for Overlay<T> {
}
}
+#[cfg(feature = "ui")]
+impl<T: Component + 'static> compositor::ui::Render for Overlay<T> {}
+
impl<T: Component + 'static> Component for Overlay<T> {
fn required_size(&mut self, (width, height): (u16, u16)) -> Option<(u16, u16)> {
let area = Rect {