mirror of
https://github.com/He4eT/browser-milje-2077.git
synced 2026-05-04 17:07:24 +00:00
milje.js: better shadow
This commit is contained in:
parent
5a8128c25f
commit
a2f97fbbe3
2 changed files with 3 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ function start () {
|
|||
|
||||
function getParamsFromStorage () {
|
||||
return browser.storage.local.get(['params'])
|
||||
.then(({params}) => params)
|
||||
.then(({params}) => params ?? {})
|
||||
}
|
||||
|
||||
function assureParams(params) {
|
||||
|
|
@ -169,7 +169,7 @@ function getCanvas(size) {
|
|||
'top': '0%',
|
||||
'left': '50%',
|
||||
'transform': 'translateY(-50%) translateX(-50%) rotate(45deg)',
|
||||
'filter': 'drop-shadow(0px 0px 10px rgba(60,60,60,0.5))',
|
||||
'filter': 'drop-shadow(5px 5px 10px rgba(60,60,60)) blur(1px)',
|
||||
'pointerEvents': 'none',
|
||||
'zIndex': '9999',
|
||||
}).forEach(([key, value]) => { canvas.style[key] = value })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue