Fixup eeb4187a: copy-paste errors

This commit is contained in:
Jean-Marc Lasgouttes 2020-01-15 15:19:38 +01:00
parent eeb4187a28
commit 7d3d07ff40

View File

@ -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);
}
}