From: Jean-Marc Lasgouttes Date: Mon, 20 Feb 2023 16:14:03 +0000 (+0100) Subject: Fixup 04ece4f0d6a: fix cursor position X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a3d58d2884976eaf6c7ea22c2caace51f8e5c566;p=features.git Fixup 04ece4f0d6a: fix cursor position --- diff --git a/src/insets/InsetCollapsible.cpp b/src/insets/InsetCollapsible.cpp index d629aaaca4..f76dc99348 100644 --- a/src/insets/InsetCollapsible.cpp +++ b/src/insets/InsetCollapsible.cpp @@ -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;