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.
|
// 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;
|
||||||
|
|
Loading…
Reference in New Issue