]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_atom.C
fix cursor positioning using the mouse
[features.git] / src / mathed / math_atom.C
index 33ae8e4bf782f3163dbeb8b51ecba27ae8d8c187..217f10906956974a9413f6a8c17fafe5fe9d322e 100644 (file)
@@ -315,9 +315,9 @@ void MathAtom::draw(Painter & pain, int x, int y) const
        if (nucleus())
                nucleus()->draw(pain, x + dxx(), y);
        if (up())
-               up()->xcell(0).draw(pain, x + dx1(), y - dy1());
+               up()->draw(pain, x + dx1(), y - dy1());
        if (down())
-               down()->xcell(0).draw(pain, x + dx0(), y + dy0());
+               down()->draw(pain, x + dx0(), y + dy0());
 }