From 0364b4df7b01e4b23781c3dcec6787b5baf8afc4 Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Sat, 6 Jul 2024 00:07:21 -0400 Subject: [PATCH] fixed pocket crash due to guide section height too small --- pocket/startup.lua | 2 +- pocket/ui/apps/guide.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pocket/startup.lua b/pocket/startup.lua index 945171c..b4a6f52 100644 --- a/pocket/startup.lua +++ b/pocket/startup.lua @@ -20,7 +20,7 @@ local pocket = require("pocket.pocket") local renderer = require("pocket.renderer") local threads = require("pocket.threads") -local POCKET_VERSION = "v0.11.1-alpha" +local POCKET_VERSION = "v0.11.2-alpha" local println = util.println local println_ts = util.println_ts diff --git a/pocket/ui/apps/guide.lua b/pocket/ui/apps/guide.lua index 10bf56a..52d16bf 100644 --- a/pocket/ui/apps/guide.lua +++ b/pocket/ui/apps/guide.lua @@ -208,7 +208,7 @@ local function new_view(root) TextBox{parent=gls,y=1,text="Glossary",alignment=ALIGN.CENTER} PushButton{parent=gls,x=3,y=1,text="<",fg_bg=btn_fg_bg,active_fg_bg=btn_active,callback=main_page.nav_to} - local gls_abbv_page = guide_section(sect_construct_data, gls_page, "Abbreviations", docs.glossary.abbvs, 120) + local gls_abbv_page = guide_section(sect_construct_data, gls_page, "Abbreviations", docs.glossary.abbvs, 130) local gls_term_page = guide_section(sect_construct_data, gls_page, "Terminology", docs.glossary.terms, 100) PushButton{parent=gls,y=3,text="Abbreviations >",fg_bg=btn_fg_bg,active_fg_bg=btn_active,callback=gls_abbv_page.nav_to}