Better layout identification

This commit is contained in:
Gustavo Chain 2020-02-14 10:45:15 +01:00
parent ee6063375a
commit 25daa49e22
No known key found for this signature in database
GPG Key ID: DA7C1746DC118A46

View File

@ -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 {