mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Fix y co-ordinate for Conglomerate-style inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20102 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ea87429a23
commit
6089258acc
@ -291,7 +291,7 @@ void InsetCollapsable::draw(PainterInfo & pi, int x, int y) const
|
|||||||
case SubLabel:
|
case SubLabel:
|
||||||
case Corners:
|
case Corners:
|
||||||
textx = xx;
|
textx = xx;
|
||||||
texty = y;
|
texty = top;
|
||||||
const_cast<InsetCollapsable *>(this)->setDrawFrame(false);
|
const_cast<InsetCollapsable *>(this)->setDrawFrame(false);
|
||||||
InsetText::draw(pi, textx, texty);
|
InsetText::draw(pi, textx, texty);
|
||||||
const_cast<InsetCollapsable *>(this)->setDrawFrame(true);
|
const_cast<InsetCollapsable *>(this)->setDrawFrame(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user