Skip to content

UIdesign v4#20

Merged
kg0816 merged 6 commits intomainfrom
UIdesign_v4
Nov 10, 2025
Merged

UIdesign v4#20
kg0816 merged 6 commits intomainfrom
UIdesign_v4

Conversation

@kg0816
Copy link
Contributor

@kg0816 kg0816 commented Nov 9, 2025

・サイズ変更ボタンの削除
・placetemplate機能をsvelte側に移設
・現在の速度の表示
・その他UIの軽微な修正

}}
>
Reset
Board Reset
Copy link
Contributor

Choose a reason for hiding this comment

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

Reset board かも?

board = Array.from({ length: boardSize }, () => Array.from({ length: boardSize }, () => false));
renderBoard();
generationChange(0);
on.pause();
Copy link
Contributor

Choose a reason for hiding this comment

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

イベントの中で他のイベントを呼び出すとイベントの依存の管理が大変になるので、イベント呼び出し側で管理してやるのがよさそう

@aster-void aster-void mentioned this pull request Nov 9, 2025
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 10, 2025

Deploying life-code with  Cloudflare Pages  Cloudflare Pages

Latest commit: 630de5f
Status: ✅  Deploy successful!
Preview URL: https://e0541491.life-code.pages.dev
Branch Preview URL: https://uidesign-v4.life-code.pages.dev

View logs


const resetTimer = () => {
timer = "stop";
clearInterval(timerId);
Copy link
Contributor

Choose a reason for hiding this comment

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

この関数、 timer が stop の時に呼び出されたら二重に clearInterval しそう。

@kg0816 kg0816 merged commit e45f3a9 into main Nov 10, 2025
4 checks passed
@kg0816 kg0816 deleted the UIdesign_v4 branch November 10, 2025 04:15
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

Comments