From b03e23c4390ffdcf3762fa313a2c53d0123e63d6 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 22 Apr 2024 01:14:43 +0200 Subject: [PATCH] rename `stack_bottom` to `stack_below` --- hui/src/frame/stack.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hui/src/frame/stack.rs b/hui/src/frame/stack.rs index e25d495..a2dfd5d 100644 --- a/hui/src/frame/stack.rs +++ b/hui/src/frame/stack.rs @@ -23,7 +23,7 @@ pub trait FrameStackExt: Frame { fn stack(self, other: impl Frame + 'static) -> FrameStack; /// 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 FrameStackExt for T { @@ -31,7 +31,7 @@ impl FrameStackExt for T { 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)) } }