]> git.lyx.org Git - features.git/commit
Fix display of InsetCollapsable with split views
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 3 Feb 2016 09:37:29 +0000 (10:37 +0100)
committerRichard Heck <rgheck@lyx.org>
Wed, 15 Jun 2016 21:32:52 +0000 (22:32 +0100)
commitcd27ae65a2c2865b866b2a5d2fba7d6b6aeb6443
treece95cf0da17b14dd29a821358205f861c54dbc95
parente495dfb5f71ce421161db0cdf0940cfa31033c20
Fix display of InsetCollapsable with split views

When several bufferviews exist for the same inset, the data that depends on the view width have to be BufferView-dependent. While this is the case for several mutable members of InsetCollapsable, some were missing.

This commit makes button_dim_ (renamed from button_dim) and openinlined_ bv-dependent.

Get rid of the hitButton function.

Remove the bv-independent geometry() method and implement editable() explicitely instead.

Fixes bug #9756.
src/insets/InsetCollapsable.cpp
src/insets/InsetCollapsable.h
status.22x