Corrige asignación de contexto a is_renderable()

This commit is contained in:
Manuel Cillero 2022-07-15 22:20:24 +02:00
parent bc70527ecf
commit 068f3d8520
16 changed files with 106 additions and 104 deletions

View file

@ -23,6 +23,8 @@ mod all;
pub use all::add_component_to;
pub(crate) use all::common_components;
pub fn render_always() -> bool { true }
pub type Renderable = fn(_: &InContext) -> bool;
pub fn render_never() -> bool { false }
pub fn render_always(_: &InContext) -> bool { true }
pub fn render_never(_: &InContext) -> bool { false }