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(frontend): MkAnimBgをリサイズに対応させる #12642

Merged
merged 3 commits into from
Dec 13, 2023

Conversation

kakkokari-gtyih
Copy link
Contributor

What

  • MkAnimBgを要素のリサイズに対応させた
  • 型定義を強化した

Why

Fix #12535

Additional info (optional)

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • (If needed) Add story of storybook
  • (If needed) Update CHANGELOG.md
  • (If possible) Add tests

@kakkokari-gtyih kakkokari-gtyih changed the title fix(frontend) MkAnimBgをリサイズに対応させる fix(frontend): MkAnimBgをリサイズに対応させる Dec 13, 2023
@github-actions github-actions bot added the packages/frontend Client side specific issue/PR label Dec 13, 2023
Copy link

codecov bot commented Dec 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5472f4b) 79.69% compared to head (beea7ce) 79.68%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #12642      +/-   ##
===========================================
- Coverage    79.69%   79.68%   -0.01%     
===========================================
  Files          959      959              
  Lines       108404   108404              
  Branches      8351     8345       -6     
===========================================
- Hits         86388    86380       -8     
- Misses       22016    22024       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@syuilo
Copy link
Member

syuilo commented Dec 13, 2023

GLSL側に uniform vec2 u_resolution; として解像度渡してるから、それを参照してよしなにアスペクト比考慮するようにした方がシンプルに済むかも

@syuilo
Copy link
Member

syuilo commented Dec 13, 2023

引き継ぎます

@syuilo
Copy link
Member

syuilo commented Dec 13, 2023

あー勘違いしてた

@syuilo syuilo merged commit 71bb181 into misskey-dev:develop Dec 13, 2023
15 checks passed
@syuilo
Copy link
Member

syuilo commented Dec 13, 2023

🙏🏻 🙏🏻

@kakkokari-gtyih kakkokari-gtyih deleted the fix-12535 branch December 13, 2023 09:21
camilla-ett pushed a commit to kaseiski/misskey that referenced this pull request Jan 2, 2024
* (fix) MkAnimBgをリサイズに対応させる

* fix lint

* refactor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages/frontend Client side specific issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MkAnimBgの要素サイズを変更するとグラフィックが歪む
2 participants