Fixing layout churn in codemirror.

This commit is contained in:
Ben Vanik 2013-12-22 13:22:26 -08:00
parent d861ef8aab
commit 47f0397245
1 changed files with 3 additions and 1 deletions

View File

@ -126,7 +126,9 @@ module.controller('FunctionViewController', function(
// Set last to make all option changes stick. // Set last to make all option changes stick.
switch (codeType) { switch (codeType) {
case 'source': case 'source':
cm.operation(function() {
updateSourceCode(fn); updateSourceCode(fn);
});
break; break;
default: default:
var value = fn ? fn.disasm[codeType] : null; var value = fn ? fn.disasm[codeType] : null;