diff --git a/Userland/Libraries/LibGUI/FileSystemModel.cpp b/Userland/Libraries/LibGUI/FileSystemModel.cpp index dfe7b37185..797affd754 100644 --- a/Userland/Libraries/LibGUI/FileSystemModel.cpp +++ b/Userland/Libraries/LibGUI/FileSystemModel.cpp @@ -515,6 +515,13 @@ Variant FileSystemModel::data(const ModelIndex& index, ModelRole role) const if (role == ModelRole::Icon) { return icon_for(node); } + + if (role == ModelRole::IconOpacity) { + if (node.name.starts_with('.')) + return 0.5f; + return {}; + } + return {}; }