Skip to content

Commit 03eea7b

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

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

chatgpt/bravegpt/bravegpt.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-Brave Search (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.bravegpt.com/images/icons/app/icon48.png?v=e8ca7c2
154154
// @icon64 https://assets.bravegpt.com/images/icons/app/icon64.png?v=e8ca7c2
@@ -2030,7 +2030,7 @@
20302030
modals.draggingModal = event.currentTarget
20312031
event.preventDefault() // prevent sub-elems like icons being draggable
20322032
Object.assign(modals.draggingModal.style, { // update styles
2033-
transform: 'scale(1.05)', willChange: 'transform',
2033+
transform: 'scale(1.05)',
20342034
transition: '0.1s', '-webkit-transition': '0.1s', '-moz-transition': '0.1s',
20352035
'-o-transition': '0.1s', '-ms-transition': '0.1s'
20362036
})
@@ -2054,7 +2054,7 @@
20542054

20552055
mouseup() { // restore styles/pointer events, remove listeners, reset modals.draggingModal
20562056
Object.assign(modals.draggingModal.style, { // restore styles
2057-
cursor: 'inherit', transform: 'scale(1)', willChange: 'auto',
2057+
cursor: 'inherit', transform: 'scale(1)',
20582058
transition: 'inherit', '-webkit-transition': 'inherit', '-moz-transition': 'inherit',
20592059
'-o-transition': 'inherit', '-ms-transition': 'inherit'
20602060
})

0 commit comments

Comments
 (0)