From 7d3d07ff401e15a5e7c5027f717129eb728cb4be Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 15 Jan 2020 15:19:38 +0100 Subject: [PATCH] Fixup eeb4187a: copy-paste errors --- src/insets/InsetCollapsible.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/insets/InsetCollapsible.cpp b/src/insets/InsetCollapsible.cpp index 09e5f3d9a9..67d19ca8dd 100644 --- a/src/insets/InsetCollapsible.cpp +++ b/src/insets/InsetCollapsible.cpp @@ -172,9 +172,10 @@ int InsetCollapsible::bottomOffset(BufferView const * bv) const { switch (geometry(*bv)) { case Corners: - return InsetText::topOffset(bv) / 4; + case SubLabel: + return InsetText::bottomOffset(bv) / 4; default: - return InsetText::topOffset(bv); + return InsetText::bottomOffset(bv); } } -- 2.39.2