diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-09 20:35:26 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-09 20:35:26 +0100 |
| commit | edaad8e9f6e918c783fd8fb9237fa33032194ed5 (patch) | |
| tree | 6c28c38cde47bd640531f6140d0d5dabc7c95813 /static/modules | |
| parent | 6b323fc06ec255153e86eafa4dffa67ad8c21f8c (diff) | |
| download | deck-it-edaad8e9f6e918c783fd8fb9237fa33032194ed5.tar.gz deck-it-edaad8e9f6e918c783fd8fb9237fa33032194ed5.zip | |
feat: launcher icons come from the configured icon theme
Diffstat (limited to 'static/modules')
| -rw-r--r-- | static/modules/windows.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/static/modules/windows.js b/static/modules/windows.js index 018cc6a..002bb5b 100644 --- a/static/modules/windows.js +++ b/static/modules/windows.js @@ -67,10 +67,10 @@ export default { b.setAttribute("aria-label", item.label || item.key); b.title = item.label || item.key; if (item.icon) { - const icon = document.createElement("span"); + const icon = document.createElement("img"); icon.className = "laticon"; - icon.style.webkitMaskImage = `url(/logos/${item.icon}.svg)`; - icon.style.maskImage = `url(/logos/${item.icon}.svg)`; + icon.src = `/icons/${item.icon}.svg`; + icon.alt = ""; b.append(icon); } else { b.textContent = item.label || item.key; |
