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:
Bo Peng 2006-12-15 15:39:57 +00:00
parent 2049cc5afc
commit 50d1ba117a

View File

@ -1013,9 +1013,10 @@ void BufferView::clearSelection()
void BufferView::workAreaResize(int width, int height)
{
bool const widthChange = width != width_;
bool const heightChange = height != height_;
// A resize is triggered whenever a window gets focus,
// because of the shared rows() of a buffer in multiple
// buffer views.
// Update from work area
width_ = width;
height_ = height;