Make printing with PosInfos configurable in the debug console UI
This commit is contained in:
parent
152959699a
commit
1c237dd6c3
|
@ -779,6 +779,11 @@ class DebugConsole extends Trait {
|
||||||
#end
|
#end
|
||||||
if (ui.panel(Id.handle({selected: true}), "Log")) {
|
if (ui.panel(Id.handle({selected: true}), "Log")) {
|
||||||
ui.indent();
|
ui.indent();
|
||||||
|
|
||||||
|
final h = Id.handle();
|
||||||
|
h.selected = DebugConsole.traceWithPosition;
|
||||||
|
DebugConsole.traceWithPosition = ui.check(h, "Print With Position");
|
||||||
|
|
||||||
if (ui.button("Clear")) {
|
if (ui.button("Clear")) {
|
||||||
lastTraces[0] = "";
|
lastTraces[0] = "";
|
||||||
lastTraces.splice(1, lastTraces.length - 1);
|
lastTraces.splice(1, lastTraces.length - 1);
|
||||||
|
|
Loading…
Reference in a new issue