mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-25 16:38:42 -06:00
minor comment edit
This commit is contained in:
parent
551dd343ac
commit
80282780d5
|
@ -1,5 +1,7 @@
|
||||||
//! draw commands, tesselation and UI rendering.
|
//! draw commands, tesselation and UI rendering.
|
||||||
|
|
||||||
|
//TODO: 9-slice draw command
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
rectangle::Corners,
|
rectangle::Corners,
|
||||||
text::{FontHandle, TextRenderer}
|
text::{FontHandle, TextRenderer}
|
||||||
|
|
|
@ -88,7 +88,7 @@ impl UiElement for Container {
|
||||||
state: ctx.state,
|
state: ctx.state,
|
||||||
layout: &LayoutInfo {
|
layout: &LayoutInfo {
|
||||||
position: ctx.layout.position + size,
|
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,
|
direction: self.direction,
|
||||||
},
|
},
|
||||||
text_measure: ctx.text_measure,
|
text_measure: ctx.text_measure,
|
||||||
|
|
Loading…
Reference in a new issue