mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-25 08:28:42 -06:00
minor comment edit
This commit is contained in:
parent
93f94a0786
commit
52bfab6135
|
@ -1,5 +1,7 @@
|
|||
//! draw commands, tesselation and UI rendering.
|
||||
|
||||
//TODO: 9-slice draw command
|
||||
|
||||
use crate::{
|
||||
rectangle::Corners,
|
||||
text::{FontHandle, TextRenderer}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue