Show trace in tab header

This commit is contained in:
Lubos Lenco 2017-12-07 17:44:44 +01:00
parent 7e8e2eff01
commit 2a3b8ff81b
2 changed files with 1 additions and 5 deletions

View file

@ -368,6 +368,3 @@ void main() {
#endif
}

View file

@ -65,8 +65,7 @@ class DebugConsole extends Trait {
var htab = Id.handle({position: 0});
if (ui.tab(htab, '')) {}
if (ui.tab(htab, 'Inspector')) {
ui.text('Console: ' + lastTrace);
if (ui.tab(htab, lastTrace == '' ? 'Inspector' : lastTrace.substr(0, 20))) {
var i = 0;
function drawList(h:Handle, o:iron.object.Object) {
ui.row(lrow);