File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 148
148
// @description :zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!)
149
149
// @author KudoAI
150
150
// @namespace https://kudoai.com
151
- // @version 2025.4.21.1
151
+ // @version 2025.4.21.2
152
152
// @license MIT
153
153
// @icon https://assets.ddgpt.com/images/icons/duckduckgpt/icon48.png?v=06af076
154
154
// @icon 64 https://assets.ddgpt.com/images/icons/duckduckgpt/icon64.png?v=06af076
1687
1687
appDiv : appDiv . getBoundingClientRect ( ) , toggleBtn : toggleElem . getBoundingClientRect ( ) ,
1688
1688
hoverMenu : hoverMenus [ menuType ] . div . getBoundingClientRect ( )
1689
1689
}
1690
- const appIsHigh = rects . toggleBtn . top < ( rects . hoverMenu . height + 15 ) ,
1691
- appIsLow = rects . hoverMenu . bottom > ( innerHeight - 15 )
1690
+ const appIsTooHigh = rects . toggleBtn . top < ( rects . hoverMenu . height + 15 ) ,
1691
+ appIsTooLow = rects . hoverMenu . bottom > ( innerHeight - 15 )
1692
1692
hoverMenus [ menuType ] . div . style . top = `${ rects . toggleBtn . top - rects . appDiv . top + (
1693
- menuType == 'pin' && appIsHigh || menuType == 'api' && ! appIsLow
1693
+ menuType == 'pin' && appIsTooHigh || menuType == 'api' && ! appIsTooLow
1694
1694
? /* point down */ 29 : /* point up */ - rects . hoverMenu . height - 13 ) } px`
1695
1695
hoverMenus [ menuType ] . rightPos = hoverMenus [ menuType ] . rightPos
1696
1696
|| rects . appDiv . right - event . clientX - hoverMenus [ menuType ] . div . offsetWidth / 2
You can’t perform that action at this time.
0 commit comments