Fixing layout churn in codemirror.
This commit is contained in:
parent
d861ef8aab
commit
47f0397245
|
@ -126,7 +126,9 @@ module.controller('FunctionViewController', function(
|
|||
// Set last to make all option changes stick.
|
||||
switch (codeType) {
|
||||
case 'source':
|
||||
updateSourceCode(fn);
|
||||
cm.operation(function() {
|
||||
updateSourceCode(fn);
|
||||
});
|
||||
break;
|
||||
default:
|
||||
var value = fn ? fn.disasm[codeType] : null;
|
||||
|
|
Loading…
Reference in New Issue