-
Notifications
You must be signed in to change notification settings - Fork 311
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
選択中のキャラが一番上に表示されるようにした #1176
選択中のキャラが一番上に表示されるようにした #1176
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
なるほど、CSSだけで制御できるのですね、これは初耳でした...!
TS側でキャラクターリストを操作することなく実装できていて、とても綺麗だと思いました!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ほぼLGTMです!!
命名とロジックに関してコメントしてみました!!
以下ちょっと蛇足です。
CSSで解決するのはとても良いアイデアだなと思いました!
でもflexを足してorderで制御するとなると、quasarの仕様が変わったときに気づかないうちにバグっていそうだなと思いました。(こういうときにUIフレームワークは不便ですね。。)
まあそれでもquasarの仕様を捻じ曲げている部分は他にいくらでもあるし、別に良いのかなと判断しました。
もし将来quasarのバージョンを上げたとき、この仕様がなくなってないかを確認したいですね・・・!
これはもう仕方ない感じしますね。。。 😇 とりあえず頂いたプルリクは今の形が良さそうで、取り組むにしても別タスクかなと思いました! |
Co-authored-by: Nanashi. <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!
混乱させる事を言ってしまってすみませんでした!!
PRありあとうございました、またぜひお待ちしています・・・・・・・!!!
内容
キャラ選択ダイアログを開いた時、現在のキャラがリストの一番上に来るようにしました。
これにより、ダイアログ下側のキャラをスクロールせずにスタイル変更できるようになります。
関連 Issue
ref #897
スクリーンショット・動画など
例1
例2
その他
実装やクラス名が非常に残念な感じになってしまいました。お伝えいただければ修正いたします。
クラスを出し分けしているところは下にあったものをコピペしたので変数にまとめたほうが良いかもしれません。