]> 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)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 19 Apr 2016 10:02:27 +0000 (12:02 +0200)
commit6a1803e18dfac1720920a4fc8c500300658bc7d7
treeae2252c2a1accff0cb7c6d611ee812b5630bec41
parentfb90076e9065018ee0ef9e16bae2a5d9dcc9436d
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