Giter VIP home page Giter VIP logo

Comments (2)

Bistutu avatar Bistutu commented on June 24, 2024

关于“鬼畜的互转”的情况,在开发时注意到了,目前设置的防抖时间是250毫秒,也就是如果你在250毫秒快速按下两次快捷键,只会生效一次。
在目前的程序设计中,个人倾向于第一种方式或者添加一个“高级配置”,把这个“防抖时间”的设置权交给用户,自行设置。

from fluentread.

kayanouriko avatar kayanouriko commented on June 24, 2024

也就是如果你在250毫秒快速按下两次快捷键,只会生效一次。

我说的并不是这种情况.

持续按住快捷键,鼠标滑动至文本进行翻译。

说的是我按住快捷键不松, 鼠标移动翻译的情况.

2024-04-06.193213.mp4

如视频所示, 我是按住 ctrl 不松, 移动鼠标操作的, 意在翻译全部段落. 但是如果鼠标不在默认防抖的 250 毫秒内移动到下一个未翻译的段落, 就会出现鬼畜互转的情况, 演示的段落文本还算是比较短, 如果有个大段落文本占据了可视区域的一半时候, 感觉不是设置防抖可以解决的.

我是感觉第二种方式是最好的, 这扩展的主要功能很好, 可以适用于那些不需要整页翻译偶尔需要翻译某个段落的情况, 但是别的情况比如指定网站整页翻译/区域翻译, 这扩展目前应对不了或者说使用起来麻烦, 只能借助别的翻译扩展, 但是开着两个翻译扩展又感觉有点臃肿.

当然我只是建议, 还是感谢开发.

from fluentread.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.