]> git.lyx.org Git - features.git/blobdiff - src/insets/inset.C
Various fixes to InsetTabular and InsetText + Angus's cleanup patch.
[features.git] / src / insets / inset.C
index 61996ac77cb48bdade048d41689c3b517747f401..d8cd78c143ed4952743071846a1e97d128dbb44d 100644 (file)
@@ -191,7 +191,8 @@ void UpdatableInset::scroll(BufferView * bv, int offset) const
        if (!scx && top_x >= 20)
            return;
        if ((top_x + offset) > 20)
-           scx += offset - (top_x - scx + offset - 20);
+           scx = 0;
+//         scx += offset - (top_x - scx + offset - 20);
        else
            scx += offset;
     } else {