mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-15 23:55:21 -04:00
Cleanup
This commit is contained in:
@@ -911,9 +911,6 @@ Singleton {
|
||||
}
|
||||
return Qt.rgba(r, g, b, alpha);
|
||||
}
|
||||
// Non-directional ambient layer of the M3 two-part shadow model (key +
|
||||
// ambient). Derived from the key level so user intensity/opacity settings
|
||||
// scale both layers together.
|
||||
function elevationAmbient(level) {
|
||||
const blur = (level && level.blurPx !== undefined) ? Math.max(0, level.blurPx) : 0;
|
||||
const alpha = ((level && level.alpha !== undefined) ? level.alpha : 0.3) * 0.5;
|
||||
|
||||
Reference in New Issue
Block a user