aboutsummaryrefslogtreecommitdiff
path: root/worker
diff options
context:
space:
mode:
authorJeffas <dev@jeffas.io>2019-10-10 13:24:42 +0100
committerDrew DeVault <sir@cmpwn.com>2019-10-14 10:38:04 -0400
commit03d182ca88329db778e6d271e44b480223f31807 (patch)
treee6bbd022e2fb0cc0cfd011b1797021f27232370b /worker
parent2542c65af2c24c94d70e8ab51cc590fe8fc3bd28 (diff)
Fix tab refocus on remove
Previously removing a tab would always pop from the history of tabs. This checks to see if the closing tab is the one selected, if it is then we use the history, otherwise we only need to change the selected tab if it was after (to the right of) the closing tab, in which case we just decrement the selected index.
Diffstat (limited to 'worker')
0 files changed, 0 insertions, 0 deletions