1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-06-03 18:40:43 +00:00

Remove unecessary TODO

This commit is contained in:
makeworld 2021-02-17 14:06:19 -05:00
parent 7b5d5db142
commit 9779ef3c54

View File

@ -72,8 +72,6 @@ func Init(version, commit, builtBy string) {
reformatMu.Lock() // Only allow one reformat job at a time
for i := range tabs {
// Overwrite all tabs with a new, differently sized, left margin
// TODO: Should only the current tab's margin be changed, just like how
// reformatPageAndSetView is only called for the current tab?
browser.AddTab(strconv.Itoa(i), makeTabLabel(strconv.Itoa(i+1)), makeContentLayout(tabs[i].view))
if tabs[i] == t {
// Reformat page ASAP, in the middle of loop