Track caller on h_stack and v_stack
This commit is contained in:
@@ -5,6 +5,7 @@ use crate::StyledExt;
|
||||
/// Horizontally stacks elements.
|
||||
///
|
||||
/// Sets `flex()`, `flex_row()`, `items_center()`
|
||||
#[track_caller]
|
||||
pub fn h_stack() -> Div {
|
||||
div().h_flex()
|
||||
}
|
||||
@@ -12,6 +13,7 @@ pub fn h_stack() -> Div {
|
||||
/// Vertically stacks elements.
|
||||
///
|
||||
/// Sets `flex()`, `flex_col()`
|
||||
#[track_caller]
|
||||
pub fn v_stack() -> Div {
|
||||
div().v_flex()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user