mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-29 02:18:40 -06:00
rename stack_bottom
to stack_below
This commit is contained in:
parent
44824a86f5
commit
b03e23c439
|
@ -23,7 +23,7 @@ pub trait FrameStackExt: Frame {
|
||||||
fn stack(self, other: impl Frame + 'static) -> FrameStack;
|
fn stack(self, other: impl Frame + 'static) -> FrameStack;
|
||||||
|
|
||||||
/// Stack another frame below this one
|
/// Stack another frame below this one
|
||||||
fn stack_bottom(self, other: impl Frame + 'static) -> FrameStack;
|
fn stack_below(self, other: impl Frame + 'static) -> FrameStack;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<T: Frame + 'static> FrameStackExt for T {
|
impl<T: Frame + 'static> FrameStackExt for T {
|
||||||
|
@ -31,7 +31,7 @@ impl<T: Frame + 'static> FrameStackExt for T {
|
||||||
FrameStack(Box::new(self), Box::new(other))
|
FrameStack(Box::new(self), Box::new(other))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn stack_bottom(self, other: impl Frame + 'static) -> FrameStack {
|
fn stack_below(self, other: impl Frame + 'static) -> FrameStack {
|
||||||
FrameStack(Box::new(other), Box::new(self))
|
FrameStack(Box::new(other), Box::new(self))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue