Merge branch 'main' of github.com:noctalia-dev/noctalia-shell
This commit is contained in:
commit
2793863689
4 changed files with 8 additions and 4 deletions
|
|
@ -200,11 +200,13 @@ Variants {
|
|||
Layout.alignment: Qt.AlignTop
|
||||
// Start avatar aligned with body (below the summary)
|
||||
anchors.topMargin: textContent.childrenRect.y
|
||||
imagePath: Icons.iconFromName(model.appIcon, "application-x-executable")
|
||||
// Prefer notification-provided image (e.g., user avatar) then fall back to app icon
|
||||
imagePath: (model.image && model.image !== "") ? model.image : Icons.iconFromName(
|
||||
model.appIcon, "application-x-executable")
|
||||
fallbackIcon: "apps"
|
||||
borderColor: Color.transparent
|
||||
borderWidth: 0
|
||||
visible: imagePath && imagePath !== ""
|
||||
visible: (imagePath && imagePath !== "")
|
||||
}
|
||||
|
||||
Column {
|
||||
|
|
|
|||
|
|
@ -378,6 +378,7 @@ NBox {
|
|||
if (targetWidget) {
|
||||
const targetCenterX = targetWidget.x + targetWidget.width / 2
|
||||
if (mouseX > targetCenterX) {
|
||||
|
||||
// Mouse is to the right of target center, insert after
|
||||
//Logger.log("BarSectionEditor", "Inserting after widget at index:", targetIndex)
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -52,7 +52,8 @@ Loader {
|
|||
property alias isClosing: hideTimer.running
|
||||
readonly property real barHeight: Math.round(Style.barHeight * scaling)
|
||||
readonly property bool barAtBottom: Settings.data.bar.position === "bottom"
|
||||
readonly property bool barIsVisible: (screen !== null) && (Settings.data.bar.monitors.includes(screen.name) || (Settings.data.bar.monitors.length === 0))
|
||||
readonly property bool barIsVisible: (screen !== null) && (Settings.data.bar.monitors.includes(screen.name)
|
||||
|| (Settings.data.bar.monitors.length === 0))
|
||||
|
||||
signal opened
|
||||
signal closed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue