]> git.lyx.org Git - features.git/commit
Fixup 04ece4f0: handle case where openinlined_ is not set
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 22 Feb 2023 09:58:22 +0000 (10:58 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 22 Feb 2023 09:58:22 +0000 (10:58 +0100)
commite181474e6c4f8007a56d62e269c61d2d4a8dbd75
treeda842fc8a480b0f926030ac178da8981eaf2380d
parenta3d58d2884976eaf6c7ea22c2caace51f8e5c566
Fixup 04ece4f0: handle case where openinlined_ is not set

When computing the width of the button, some code has been added in
04ece4f0 to shorten the space in LeftButton geometry. It turns out
that the Left/Top-button-ness is not always known at this point (since
it depends on the width itself!).

Therefore, it is better to make the button narrower also in the
TopButton case.
src/insets/InsetCollapsible.cpp