From 25daa49e22126dff83074cb169c8a6ed4cfe0201 Mon Sep 17 00:00:00 2001 From: Gustavo Chain Date: Fri, 14 Feb 2020 10:45:15 +0100 Subject: [PATCH] Better layout identification --- ui/ui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/ui.go b/ui/ui.go index c0f440c..639d42d 100644 --- a/ui/ui.go +++ b/ui/ui.go @@ -95,7 +95,7 @@ func (ui *UI) Layout(g *gocui.Gui) error { // vertical layout is used if 8 blocks don't fit on the screen // when in vertical layout the mempool is shown in the top // and the blockchain in the bottom - vertical := BLOCK_WIDTH*8 > x + vertical := BLOCK_WIDTH*6 > x // draw projected blocks (mempool) for i, _ := range ui.state.projected {