core: `Stage` should render it's children

This commit is contained in:
David Wendt 2021-04-16 19:14:58 -04:00 committed by Mike Welsh
parent 7341fa0554
commit 4e4f1dce26
1 changed files with 4 additions and 0 deletions

View File

@ -220,6 +220,10 @@ impl<'gc> TDisplayObject<'gc> for Stage<'gc> {
Some(*self)
}
fn render_self(&self, context: &mut RenderContext<'_, 'gc>) {
self.render_children(context);
}
fn render(&self, context: &mut RenderContext<'_, 'gc>) {
let background_color = self
.background_color()