Corrige asignación de contexto a is_renderable()
This commit is contained in:
parent
bc70527ecf
commit
068f3d8520
16 changed files with 106 additions and 104 deletions
|
|
@ -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 }
|
||||
Loading…
Add table
Add a link
Reference in a new issue