Open wibur0620 opened 1 year ago
我试了下,关闭本地化之后又有效果,也就是受翻译影响导致不起作用了。 我有个临时解决方案: 在extensions\sd-webui-aspect-ratio-helper\javascript文件夹中打开aspectRatioController.js,把第二行的【const _OFF = "Off"】引号中的Off改成不会被翻译识别的内容,比如直接中文“关”,我是和第三行一样的改用Emoji,const _OFF = "🚫",保存再重启webui后此处的显示就被替换了,不会被翻译,然后也能正常生效。
谢谢
Existing the same problem, solved it? I don't see a solution, I really need this plug-in, but the problem makes it unusable, thank you.
Hey. Sorry haven't been working on this project, the issue is that the implementation is coupled to the English string "All" - it should probably be an emoji or something not coupled to the display value. I think if you replace all instances of "All" in the codebase with an emoji like ⛔ or something it will work.
关闭后还是存在锁定
https://github.com/thomasasfk/sd-webui-aspect-ratio-helper/assets/131615326/c16147b9-0160-449f-90e4-bd8757407322