Commit 22c46e96 by Bridger Maxwell

Another codemirror fix.

parent b3a549fa
......@@ -753,6 +753,8 @@ var CodeMirror = (function() {
if (line.widgetFunction) {
var guess = line.widgetFunction.size(line.text).height / textHeight();
if (guess != line.height) updateLineHeight(line, guess);
} else if (line.height != 1) {
updateLineHeight(line, 1);
}
});
if (recomputeMaxLength) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment