From 989041b3694b0f047bf79083f9f2f2c764c41ee6 Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Wed, 23 Mar 2022 10:41:52 +0100 Subject: [PATCH] refactor(new-debugger): Remove the sequence diagram, move I/O to its place We don't have a sequence diagram for the demo, so in order to not make it look confusing, lets not show it. Move the I/O to its place to not make it as cramped. --- src/new-debugger/src/Debugger/UI.hs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/new-debugger/src/Debugger/UI.hs b/src/new-debugger/src/Debugger/UI.hs index 59e02b62..ffa9d64b 100644 --- a/src/new-debugger/src/Debugger/UI.hs +++ b/src/new-debugger/src/Debugger/UI.hs @@ -28,11 +28,10 @@ drawUI as = [ui] [ borderWithLabel (str "State") $ renderReactorState as , vLimitPercent 33 $ borderWithLabel (str "Events") $ renderEvents as ] - , borderWithLabel (str "Sequence Diagram") $ renderSeqDia as - ] - , vLimit 7 $ hBox - [ borderWithLabel (str "Input") $ renderMessage as - , borderWithLabel (str "Output") $ renderSentMessage as + , vBox + [ borderWithLabel (str "Input") $ renderMessage as + , borderWithLabel (str "Output") $ renderSentMessage as + ] ] , vLimit 7 $ borderWithLabel (str "Logs") $ renderLogs as ]