Skip to content

Commit f7a856e

Browse files
committed
1 parent c028f9b commit f7a856e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

chromium/extension/components/buttons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ window.buttons = {
102102
}
103103
}
104104
}
105-
btn.onmouseenter = () => btn.style.willChange = 'transform' // hint browser to optimize hover-zoom
105+
btn.onmouseenter = () => btn.style.willChange = 'transform' // optimize hover-zoom to prevent wobble
106106
btn.onmouseleave = () => btn.style.willChange = 'auto' // deallocate optimizations
107107
})
108108
},

firefox/extension/components/buttons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ window.buttons = {
102102
}
103103
}
104104
}
105-
btn.onmouseenter = () => btn.style.willChange = 'transform' // hint browser to optimize hover-zoom
105+
btn.onmouseenter = () => btn.style.willChange = 'transform' // optimize hover-zoom to prevent wobble
106106
btn.onmouseleave = () => btn.style.willChange = 'auto' // deallocate optimizations
107107
})
108108
},

0 commit comments

Comments
 (0)