mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
remove unused part for createImgElement
This commit is contained in:
@@ -90,11 +90,7 @@ export const createImgElement = (input: ImageData): HTMLImageElement => {
|
||||
img.setAttribute('alt', '')
|
||||
img.setAttribute('height', input.imgH)
|
||||
img.setAttribute('width', input.imgW)
|
||||
img.style.zIndex = '0'
|
||||
img.style.opacity = '1'
|
||||
img.style.backgroundImage = `linear-gradient(15deg, ${input.pColor}, ${input.sColor})`
|
||||
img.style.backgroundSize = `${input.imgW}px ${input.imgH}px`
|
||||
img.dataset.status = 'null'
|
||||
return img
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user