mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-13 17:57:20 +02:00
Hide the image info when the mouse isn't over it
This commit is contained in:
@ -439,6 +439,7 @@ async function doMakeImage(reqBody, batchCount) {
|
||||
|
||||
let imgItemInfo = document.createElement('span')
|
||||
imgItemInfo.className = 'imgItemInfo'
|
||||
imgItemInfo.style.opacity = 0
|
||||
|
||||
let imgSeedLabel = document.createElement('span')
|
||||
imgSeedLabel.className = 'imgSeedLabel'
|
||||
@ -485,7 +486,7 @@ async function doMakeImage(reqBody, batchCount) {
|
||||
})
|
||||
|
||||
imgItem.addEventListener('mouseleave', function() {
|
||||
imgItemInfo.style.opacity = 0.5
|
||||
imgItemInfo.style.opacity = 0
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user