Commit 996c71f3 authored by ThorbenQuast's avatar ThorbenQuast
Browse files

[editor] call .resize() function to fix scrolling bug, using ace src version

parent b7117350
......@@ -67,7 +67,7 @@ define(["jquery", "emitter", "./action", "require"], function($, Emitter, CodeEd
self.view.setState("line", line, 1000);
}
});
self.ace.focus();
if (vispa.device.hasTouch)
self.addOwnScrollBar();
......@@ -81,7 +81,8 @@ define(["jquery", "emitter", "./action", "require"], function($, Emitter, CodeEd
// trigger loading of state again since we can handle it now
self.view.emit("stateChange", "path");
self.ace.focus();
self.ace.resize();
self.view.setLoading(false);
});
......
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