mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
fix(workspace): fix missing icon and broken layout
This commit is contained in:
@@ -784,9 +784,8 @@ Item {
|
||||
readonly property bool winOk: win !== undefined && win !== null
|
||||
readonly property bool isFocused: winOk && win.isFocused
|
||||
|
||||
width: winOk ? root.iconSize : 0
|
||||
height: winOk ? root.iconSize : 0
|
||||
visible: winOk
|
||||
width: root.iconSize
|
||||
height: root.iconSize
|
||||
|
||||
HoverHandler {
|
||||
id: windowHoverHandler
|
||||
@@ -800,10 +799,7 @@ Item {
|
||||
|
||||
source: {
|
||||
root.iconRevision; // Force re-evaluation when revision changes
|
||||
const w = groupedTaskbarItem.win;
|
||||
if (!w)
|
||||
return "";
|
||||
return ThemeIcons.iconForAppId(w.appId?.toLowerCase());
|
||||
return ThemeIcons.iconForAppId(groupedTaskbarItem.win?.appId?.toLowerCase());
|
||||
}
|
||||
smooth: true
|
||||
asynchronous: true
|
||||
|
||||
Reference in New Issue
Block a user