PlasmoidHeader: re-add backgroundMetrics
accidentally removed in previous commit
This commit is contained in:
parent
65360e9841
commit
f7f74d2fe4
@ -80,5 +80,15 @@ import "private" as Private
|
|||||||
}
|
}
|
||||||
return borders
|
return borders
|
||||||
}
|
}
|
||||||
|
Private.BackgroundMetrics {
|
||||||
|
id: backgroundMetrics
|
||||||
|
function getMargin(margin) {
|
||||||
|
if (!hasInset) {
|
||||||
|
return -headingSvg.fixedMargins[margin];
|
||||||
|
} else {
|
||||||
|
return -backgroundMetrics.fixedMargins[margin] + backgroundMetrics.inset[margin]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user