minor comment edit

This commit is contained in:
griffi-gh 2024-03-01 20:44:37 +01:00
parent 93f94a0786
commit 52bfab6135
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
//! draw commands, tesselation and UI rendering.
//TODO: 9-slice draw command
use crate::{
rectangle::Corners,
text::{FontHandle, TextRenderer}

View file

@ -88,7 +88,7 @@ impl UiElement for Container {
state: ctx.state,
layout: &LayoutInfo {
position: ctx.layout.position + size,
max_size: self.measure_max_inner_size(ctx.layout), // - size TODO
max_size: self.measure_max_inner_size(ctx.layout), //TODO: subtract size already taken by previous children
direction: self.direction,
},
text_measure: ctx.text_measure,