From 7704e4699608aaad3a24df1f6fcc3b2d719df173 Mon Sep 17 00:00:00 2001 From: Gravit Date: Wed, 24 Apr 2019 12:51:55 +0700 Subject: [PATCH] =?UTF-8?q?[FEATURE]=20=D0=9E=D0=B3=D1=80=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D1=87=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=87=D0=B8=D1=81=D0=BB?= =?UTF-8?q?=D0=B0=20=D1=81=D0=B8=D0=BC=D0=B2=D0=BE=D0=BB=D0=BE=D0=B2=20?= =?UTF-8?q?=D0=B2=20=D0=BE=D1=82=D0=BB=D0=B0=D0=B4=D0=BE=D1=87=D0=BD=D0=BE?= =?UTF-8?q?=D0=BC=20=D0=BE=D0=BA=D0=BD=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Launcher/runtime/dialog/overlay/debug/debug.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Launcher/runtime/dialog/overlay/debug/debug.js b/Launcher/runtime/dialog/overlay/debug/debug.js index fa9792b0..cd639cbd 100644 --- a/Launcher/runtime/dialog/overlay/debug/debug.js +++ b/Launcher/runtime/dialog/overlay/debug/debug.js @@ -37,6 +37,12 @@ var debug = { }, append: function(text) { + LogHelper.debug(debug.output.getText().length()); + //Experimental Feature + if(debug.output.getText().length() > 32000 /* Max length */) + { + debug.output.deleteText(0, text.length()); + } debug.output.appendText(text); },