Add changelog

This commit is contained in:
sxyazi 2026-03-15 15:12:10 +08:00
parent 2a77c0380e
commit 920f445605
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -55,6 +55,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/):
### Improved
- Reduce memory allocations by using Lua 5.5 external strings ([#3634])
- Reuse previewed and spotted widgets when possible ([#3765])
## [v26.1.22]
@ -1682,3 +1683,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/):
[#3744]: https://github.com/sxyazi/yazi/pull/3744
[#3748]: https://github.com/sxyazi/yazi/pull/3748
[#3757]: https://github.com/sxyazi/yazi/pull/3757
[#3765]: https://github.com/sxyazi/yazi/pull/3765

View file

@ -56,8 +56,8 @@ impl Widget for Border {
for title in self.titles {
block = match title {
(ratatui::widgets::TitlePosition::Top, line) => block.title(line),
(ratatui::widgets::TitlePosition::Bottom, line) => block.title(line),
(ratatui::widgets::TitlePosition::Top, line) => block.title_top(line),
(ratatui::widgets::TitlePosition::Bottom, line) => block.title_bottom(line),
};
}