Skip to content

Commit 7f62fe2

Browse files
committed
Deleted laggy will-change from modals.handlers.drag ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/amazongpt]
1 parent 03eea7b commit 7f62fe2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

chatgpt/amazongpt/amazongpt.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @description Add AI chat & product/category summaries to Amazon shopping, powered by the latest LLMs like GPT-4o!
44
// @author KudoAI
55
// @namespace https://kudoai.com
6-
// @version 2025.10.15
6+
// @version 2025.10.15.1
77
// @license MIT
88
// @icon https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon48.png?v=8e8ed1c
99
// @icon64 https://amazongpt.kudoai.com/assets/images/icons/app/black-gold-teal/icon64.png?v=8e8ed1c
@@ -1364,7 +1364,7 @@
13641364
modals.draggingModal = event.currentTarget
13651365
event.preventDefault() // prevent sub-elems like icons being draggable
13661366
Object.assign(modals.draggingModal.style, { // update styles
1367-
transform: 'scale(1.05)', willChange: 'transform',
1367+
transform: 'scale(1.05)',
13681368
transition: '0.1s', '-webkit-transition': '0.1s', '-moz-transition': '0.1s',
13691369
'-o-transition': '0.1s', '-ms-transition': '0.1s'
13701370
})
@@ -1388,7 +1388,7 @@
13881388

13891389
mouseup() { // restore styles/pointer events, remove listeners, reset modals.draggingModal
13901390
Object.assign(modals.draggingModal.style, { // restore styles
1391-
cursor: 'inherit', transform: 'scale(1)', willChange: 'auto',
1391+
cursor: 'inherit', transform: 'scale(1)',
13921392
transition: 'inherit', '-webkit-transition': 'inherit', '-moz-transition': 'inherit',
13931393
'-o-transition': 'inherit', '-ms-transition': 'inherit'
13941394
})

0 commit comments

Comments
 (0)