fix(tabs): force render by index rather than by position (#684)
* fix(tabs): force render by index rather than by position * docs(changelog): document change
This commit is contained in:
parent
18dca848e6
commit
6ec51952d0
2 changed files with 3 additions and 1 deletions
|
|
@ -5,6 +5,8 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
||||
|
||||
## [Unreleased]
|
||||
* Fix bug when opening new tab the new pane's viewport would sometimes be calculated incorrectly (https://github.com/zellij-org/zellij/pull/683)
|
||||
* Fix bug when in some cases closing a tab would not clear the previous pane's contents (https://github.com/zellij-org/zellij/pull/684)
|
||||
|
||||
## [0.16.0] - 2021-08-31
|
||||
* Plugins don't crash zellij anymore on receiving mouse events (https://github.com/zellij-org/zellij/pull/620)
|
||||
|
|
|
|||
|
|
@ -266,7 +266,7 @@ impl Screen {
|
|||
} else {
|
||||
self.active_tab_index = self.tab_history.pop().unwrap();
|
||||
for t in self.tabs.values_mut() {
|
||||
if t.position == self.active_tab_index.unwrap() {
|
||||
if t.index == self.active_tab_index.unwrap() {
|
||||
t.set_force_render()
|
||||
}
|
||||
if t.position > active_tab.position {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue