mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +00:00
add a comment in workAreaResize
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16280 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2049cc5afc
commit
50d1ba117a
@ -1013,9 +1013,10 @@ void BufferView::clearSelection()
|
|||||||
|
|
||||||
void BufferView::workAreaResize(int width, int height)
|
void BufferView::workAreaResize(int width, int height)
|
||||||
{
|
{
|
||||||
bool const widthChange = width != width_;
|
// A resize is triggered whenever a window gets focus,
|
||||||
bool const heightChange = height != height_;
|
// because of the shared rows() of a buffer in multiple
|
||||||
|
// buffer views.
|
||||||
|
|
||||||
// Update from work area
|
// Update from work area
|
||||||
width_ = width;
|
width_ = width;
|
||||||
height_ = height;
|
height_ = height;
|
||||||
|
Loading…
Reference in New Issue
Block a user