mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: parent styling for hovered; formatting revert
This commit is contained in:
parent
d933c0e6f1
commit
5eb72f09a5
2 changed files with 3 additions and 1 deletions
|
|
@ -29,6 +29,8 @@ function Entity:icon()
|
|||
local icon = self._file:icon(self._file.is_hovered)
|
||||
if not icon then
|
||||
return ""
|
||||
elseif self._file.is_hovered then
|
||||
return icon.text .. " "
|
||||
else
|
||||
return ui.Line(icon.text .. " "):style(icon.style)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue