1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-12-04 14:46:29 -05:00

Update changelog and fix mispelling

This commit is contained in:
makeworld 2020-12-29 17:40:37 -05:00
parent 90654cd2cf
commit 691614dae4
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- More reliable start, no more flash of unindented text, or text that stays unindented (#107) - More reliable start, no more flash of unindented text, or text that stays unindented (#107)
- Pages with ANSI resets don't use the terminal's default text and background colors (#107) - Pages with ANSI resets don't use the terminal's default text and background colors (#107)
- ANSI documents don't leak color into the left margin (#107) - ANSI documents don't leak color into the left margin (#107)
- Rendering very long documents is now ~96% faster, excluding gemtext parsing (#107) - Rendering very long documents is now ~96% faster, excluding gemtext parsing (#26, #107)
## [1.7.2] - 2020-12-21 ## [1.7.2] - 2020-12-21

View File

@ -90,7 +90,7 @@ func Init(version, commit, builtBy string) {
browser.AddTab(strconv.Itoa(i), makeTabLabel(strconv.Itoa(i+1)), makeContentLayout(tabs[i].view)) browser.AddTab(strconv.Itoa(i), makeTabLabel(strconv.Itoa(i+1)), makeContentLayout(tabs[i].view))
if tabs[i] == t { if tabs[i] == t {
// Reformat page ASAP, in the middle of loop // Reformat page ASAP, in the middle of loop
// TODO The per-tab mutext is unecessary if the global one is used // TODO The per-tab mutext is unnecessary if the global one is used
t.reformatMu.Lock() // Only one reformat job per tab t.reformatMu.Lock() // Only one reformat job per tab
reformatPageAndSetView(t, t.page) reformatPageAndSetView(t, t.page)
t.reformatMu.Unlock() t.reformatMu.Unlock()