Skip to content

Commit d98f61f

Browse files
committed
Removed force GPU acceleration hack to preserve proper beautiful animation behavior on Button Animations toggle ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-widescreen]
1 parent 0a171da commit d98f61f

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

chromium/extension/content.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@
192192
+ `#newChat-btn { display: ${ config.ncbDisabled == true ? 'none' : 'flex' }}`
193193
+ ( config.btnAnimationsDisabled ? '' : // zoom chatbar buttons on hover
194194
`.${buttons.class} { will-change: transform } /* prevent wobble */
195-
.${buttons.class}:hover { transform: scale(${ env.site == 'poe' ? 1.15 : 1.285})
196-
translate3d( 0, 0, 0) }` ) // force GPU acceleration
195+
.${buttons.class}:hover { transform: scale(${ env.site == 'poe' ? 1.15 : 1.285 }) }` )
197196
)
198197
},
199198

firefox/extension/content.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@
192192
+ `#newChat-btn { display: ${ config.ncbDisabled == true ? 'none' : 'flex' }}`
193193
+ ( config.btnAnimationsDisabled ? '' : // zoom chatbar buttons on hover
194194
`.${buttons.class} { will-change: transform } /* prevent wobble */
195-
.${buttons.class}:hover { transform: scale(${ env.site == 'poe' ? 1.15 : 1.285})
196-
translate3d( 0, 0, 0) }` ) // force GPU acceleration
195+
.${buttons.class}:hover { transform: scale(${ env.site == 'poe' ? 1.15 : 1.285 }) }` )
197196
)
198197
},
199198

greasemonkey/chatgpt-widescreen-mode.user.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
// @description:zu Thuthukisa iChatGPT ngemodi zesikrini ezibanzi/egcwele/ephezulu + imodi yokuvimbela i-spam. Futhi isebenza ku-perplexity.ai + poe.com!
236236
// @author Adam Lui
237237
// @namespace https://github.com/adamlui
238-
// @version 2025.2.4.1
238+
// @version 2025.2.4.2
239239
// @license MIT
240240
// @icon https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon48.png?v=844b16e
241241
// @icon64 https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon64.png?v=844b16e
@@ -633,8 +633,7 @@
633633
+ `#newChat-btn { display: ${ config.ncbDisabled == true ? 'none' : 'flex' }}`
634634
+ ( config.btnAnimationsDisabled ? '' : // zoom chatbar buttons on hover
635635
`.${buttons.class} { will-change: transform } /* prevent wobble */
636-
.${buttons.class}:hover { transform: scale(${ env.site == 'poe' ? 1.15 : 1.285})
637-
translate3d( 0, 0, 0) }` ) /* force GPU acceleration */
636+
.${buttons.class}:hover { transform: scale(${ env.site == 'poe' ? 1.15 : 1.285 }) }` )
638637
)
639638
},
640639

0 commit comments

Comments
 (0)