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

improve: [0715] Difficultyを変更するごとにGaugeを初期化しないよう変更 #1509

Merged
merged 4 commits into from Jun 29, 2023

Conversation

cwtickle
Copy link
Owner

@cwtickle cwtickle commented Jun 29, 2023

🔨 変更内容 / Details of Changes

  1. Difficultyを変更するごとにGaugeを初期化しないよう変更しました。
    例えばGauge:「Hard」を選択し、Difficultyを変更した場合に
    次の譜面のゲージ設定にGauge:「Hard」があれば、ゲージ設定を変更しません。
  2. ゲージ設定周りのコードを見直しました。

🔖 関連Issue, 変更理由 / Related Issues, Reason for Changes

  1. ゲージ設定のみ、譜面を変えると初期化するようになっていたため。
  2. ゲージ設定を制御するgaugeChange関数について、ゲージ設定配列を入れ替える処理とゲージ明細を設定する処理が一緒になっており、使いづらい処理になっていたため整理した上でsetGauge関数へ統合しました。

📷 スクリーンショット / Screenshot

📝 その他コメント / Other Comments

@codeclimate
Copy link

codeclimate bot commented Jun 29, 2023

Code Climate has analyzed commit cb2f9d4 and detected 0 issues on this pull request.

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant