]> git.lyx.org Git - lyx.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>
Sat, 28 May 2016 21:43:01 +0000 (17:43 -0400)
commitfd6ae3539bbc3f5d771d9346437f9ff00c7171ce
tree3c2c414dda64b2cf2b8c512b829c19f75a5eac4b
parentf23a8fed80ccf92f1da1eaab32ca1bec0742bced
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