Skip to content

Commit

Permalink
Merged standby/auto-get tooltip ctrAddend + spreadFactor in `upda…
Browse files Browse the repository at this point in the history
…te.tooltip()` ↞ [auto-sync from `adamlui/chatgpt-apps`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Aug 8, 2024
1 parent 9038f65 commit 85228fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions greasemonkey/duckduckgpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
// @description:zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.8.8.4
// @version 2024.8.8.5
// @license MIT
// @icon https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png?af89302
// @icon64 https://media.ddgpt.com/images/icons/duckduckgpt/icon64.png?af89302
Expand Down Expand Up @@ -1789,7 +1789,7 @@
.filter(type => { // exclude invisible ones
const btn = appDiv.querySelector(`#${type}-btn`)
return btn && getComputedStyle(btn).display != 'none' })
const [ctrAddend, spreadFactor] = appDiv.querySelector('.standby-btn') ? [6, 29] : [8, 29],
const [ctrAddend, spreadFactor] = [7, 29],
iniRoffset = spreadFactor * ( buttonType == 'send' ? 1.48
: buttonType == 'shuffle' ? 2.48
: cornerBtnTypes.indexOf(buttonType) +1 ) + ctrAddend
Expand Down

0 comments on commit 85228fa

Please sign in to comment.