]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inset.C
Fixed some redraw problems in InsetText/Tabular/Collapsable. Fixed problems
[lyx.git] / src / insets / inset.C
index bae82b6f9c130d8345b7fea29754c3323826f386..344921e62066846892e38c00f628c71f9c8e1c27 100644 (file)
@@ -152,7 +152,6 @@ void UpdatableInset::draw(BufferView *, LyXFont const &,
 void UpdatableInset::SetFont(BufferView *, LyXFont const &, bool )
 {}
 
-
 void UpdatableInset::scroll(BufferView * bv, float s) const
 {
        LyXFont font;
@@ -181,7 +180,8 @@ void UpdatableInset::scroll(BufferView * bv, float s) const
        if ((tmp_top_x + scx + width(bv, font)) < (workW / 2)) {
                scx += (workW / 2) - (tmp_top_x + scx + width(bv, font));
        }
-       // bv->updateInset(const_cast<UpdatableInset *>(this), false);
+       
+//     bv->updateInset(const_cast<UpdatableInset *>(this), false);
 }
 
 void UpdatableInset::scroll(BufferView * bv, int offset) const
@@ -204,7 +204,7 @@ void UpdatableInset::scroll(BufferView * bv, int offset) const
                        scx += offset;
                }
        }
-       // bv->updateInset(const_cast<UpdatableInset *>(this), false);
+//     bv->updateInset(const_cast<UpdatableInset *>(this), false);
 }