Skip to content

Commit 2ceaadd

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

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

chatgpt/duckduckgpt/duckduckgpt.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
// @description:zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!)
149149
// @author KudoAI
150150
// @namespace https://kudoai.com
151-
// @version 2025.10.15
151+
// @version 2025.10.15.1
152152
// @license MIT
153153
// @icon https://assets.ddgpt.com/images/icons/app/icon48.png?v=533ce0f
154154
// @icon64 https://assets.ddgpt.com/images/icons/app/icon64.png?v=533ce0f
@@ -2032,7 +2032,7 @@
20322032
modals.draggingModal = event.currentTarget
20332033
event.preventDefault() // prevent sub-elems like icons being draggable
20342034
Object.assign(modals.draggingModal.style, { // update styles
2035-
transform: 'scale(1.05)', willChange: 'transform',
2035+
transform: 'scale(1.05)',
20362036
transition: '0.1s', '-webkit-transition': '0.1s', '-moz-transition': '0.1s',
20372037
'-o-transition': '0.1s', '-ms-transition': '0.1s'
20382038
})
@@ -2059,7 +2059,7 @@
20592059

20602060
mouseup() { // restore styles/pointer events, remove listeners, reset modals.draggingModal
20612061
Object.assign(modals.draggingModal.style, { // restore styles
2062-
cursor: 'inherit', transform: 'scale(1)', willChange: 'auto',
2062+
cursor: 'inherit', transform: 'scale(1)',
20632063
transition: 'inherit', '-webkit-transition': 'inherit', '-moz-transition': 'inherit',
20642064
'-o-transition': 'inherit', '-ms-transition': 'inherit'
20652065
})

0 commit comments

Comments
 (0)