mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
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':
|
||||||
updateSourceCode(fn);
|
cm.operation(function() {
|
||||||
|
updateSourceCode(fn);
|
||||||
|
});
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
var value = fn ? fn.disasm[codeType] : null;
|
var value = fn ? fn.disasm[codeType] : null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue