mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Fixup 04ece4f0d6
: fix cursor position
This commit is contained in:
parent
39fddce26e
commit
a3d58d2884
@ -424,7 +424,7 @@ void InsetCollapsible::cursorPos(BufferView const & bv,
|
||||
|
||||
switch (geometry(bv)) {
|
||||
case LeftButton:
|
||||
x += dimensionCollapsed(bv).wid;
|
||||
x += dimensionCollapsed(bv).wid - leftOffset(&bv) / 2;
|
||||
break;
|
||||
case TopButton: {
|
||||
y += dimensionCollapsed(bv).des + textdim.asc;
|
||||
|
Loading…
Reference in New Issue
Block a user