Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: GPU変更のダイアログがクリックできなかったのを修正 #2507

Merged

Conversation

sevenc-nanashi
Copy link
Member

内容

タイトル通り。スクショのようになっていました。

関連 Issue

(なし)

スクリーンショット・動画など

image

その他

(なし)

@sevenc-nanashi sevenc-nanashi requested a review from a team as a code owner January 28, 2025 00:55
@sevenc-nanashi sevenc-nanashi requested review from Hiroshiba and removed request for a team January 28, 2025 00:55
@voicevox-preview-pages
Copy link

voicevox-preview-pages bot commented Jan 28, 2025

🚀 プレビュー用ページを作成しました 🚀

更新時点でのコミットハッシュ:afad854

Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

気づきませんでした、ありがとうございます!!!

解決方法にちょっと危なそうな匂いを感じたので、ロジックを変更させていただこうと思います!
具体的にはchangeGpuの外でローディングを回すのではなく、中でloadingを追加しようかなと。

全体をラップするとバグるから、適宜loading dialogを表示するようにしてみました。
ちょっとロジック変わってるので良さそうかどうかレビューいただけると頼もしいです!!
コミットします!

src/styles/_index.scss Outdated Show resolved Hide resolved
@Hiroshiba Hiroshiba changed the title Fix: GPU変更のダイアログがクリックできなかったのを修正 fix: GPU変更のダイアログがクリックできなかったのを修正 Jan 31, 2025
Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

たぶんできたはず!
良さそうだったらmergeしていたけると・・・!

@sevenc-nanashi
Copy link
Member Author

image

何も直ってないような...?

@Hiroshiba
Copy link
Member

Hiroshiba commented Feb 1, 2025

あっ!
hideAllをwindow.backend.isAvailableGPUMode();の直後にしないとダメですね。。。。。🙇
やっぱテストあると良いなぁ。。。

Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

直しました!

Copy link
Member Author

@sevenc-nanashi sevenc-nanashi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

良さそう。

@sevenc-nanashi sevenc-nanashi added this pull request to the merge queue Feb 2, 2025
Merged via the queue into VOICEVOX:main with commit 074bcec Feb 2, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants