feat: menubar popups
This commit is contained in:
parent
dc538d86e9
commit
c47c12fe17
6 changed files with 1037 additions and 703 deletions
|
|
@ -237,7 +237,7 @@ impl EditorTab {
|
|||
|
||||
pub fn icon(&self, size: u16) -> icon::Icon {
|
||||
match &self.path_opt {
|
||||
Some(path) => icon::icon(mime_icon(mime_for_path(path), size)).size(size),
|
||||
Some(path) => icon::icon(mime_icon(mime_for_path(path, None, false), size)).size(size),
|
||||
None => icon::from_name(FALLBACK_MIME_ICON).size(size).icon(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue