From 72ba20fa5f077bab4286dd78f9944df15de3b3b4 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 31 Aug 2021 15:38:52 +1000 Subject: Introduce screen tabs This is a forward port (by nathans) of Hisham's original code. --- Header.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Header.c') diff --git a/Header.c b/Header.c index c557a450..976ccf22 100644 --- a/Header.c +++ b/Header.c @@ -283,6 +283,9 @@ int Header_calculateHeight(Header* this) { } maxHeight = MAXIMUM(maxHeight, height); } + if (this->settings->screenTabs) { + maxHeight++; + } this->height = maxHeight; this->pad = pad; return maxHeight; -- cgit v1.2.3