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
411 stars 23 forks source link

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

Closed HADB closed 4 months ago

HADB commented 4 months ago

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

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

tisfeng commented 4 months ago

感谢 PR ❤️