tisfeng / Raycast-Easydict

A Raycast Extension for looking up words or translating text in an easy way. Support 48+ languages, support Linguee and Youdao dictionary, support OpenAI, DeepL, Google, Bing, Apple, Baidu, Tencent, Volcano, Youdao and Caiyun translation.
https://www.raycast.com/isfeng/easydict
MIT License
382 stars 21 forks source link

fix: ignore first inputChange event, fix for #62 #63

Closed HADB closed 1 month ago

HADB commented 1 month ago

Close https://github.com/tisfeng/Raycast-Easydict/issues/62

首次触发的 onInputChange 是空字符串,会导致丢失 argument 传进来的 queryText,加了一个 isInputChanged 来判断是否是第一次

tisfeng commented 1 month ago

感谢 PR ❤️