feat: expire progress bar on popup notifs
This commit is contained in:
@@ -16,9 +16,11 @@ CustomRect {
|
||||
required property NotificationGroup group
|
||||
required property Flickable container
|
||||
required property bool expanded
|
||||
|
||||
property bool expandable: true
|
||||
property int baseSurface: 0
|
||||
property int baseLayer: baseSurface
|
||||
property int bottomPadding: 0
|
||||
|
||||
readonly property list<NotificationRow> notifs: [...group.activeNotifs]
|
||||
readonly property bool single: notifs.length === 1
|
||||
@@ -27,7 +29,7 @@ CustomRect {
|
||||
readonly property int nonAnimHeight: {
|
||||
const headerHeight = header.implicitHeight + (expanded ? Tokens.spacing.extraSmall : 0);
|
||||
const columnHeight = headerHeight + notifList.layoutHeight;
|
||||
return Math.round(Math.max(Config.notifs.sizes.image, columnHeight) + Tokens.padding.medium * 2);
|
||||
return Math.round(Math.max(Config.notifs.sizes.image, columnHeight) + Tokens.padding.medium * 2 + bottomPadding);
|
||||
}
|
||||
|
||||
signal requestExpand(expand: bool)
|
||||
|
||||
Reference in New Issue
Block a user