mirror of
https://github.com/makew0rld/amfora.git
synced 2025-02-02 15:07:34 -05:00
Remove unecessary TODO
This commit is contained in:
parent
7b5d5db142
commit
9779ef3c54
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user