-
Notifications
You must be signed in to change notification settings - Fork 309
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
ENH: CharacterButtonのメニューが常に下方向に展開されるようにする #1291
Conversation
@@ -291,6 +294,18 @@ const reassignSubMenuOpen = debounce((idx: number) => { | |||
arr[idx] = true; | |||
subMenuOpenFlags.value = arr; | |||
}, 100); | |||
|
|||
const buttonRef: Ref<InstanceType<typeof QBtn> | undefined> = ref(); | |||
const heightLimit = "65vh"; // QMenuのデフォルト値 |
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.
とりあえず元々の動作は変えないようにしました。
参照する方法がなさそうなのでハードコートしました。
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です!
ちょっとコードの可読性的な点をコメントしたので、対応していただけると...!
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です!
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!!
内容
キャラクター選択メニューが常に下方向に展開されるようにすることで以下の問題を解決します。
関連 Issue
その他
ウインドウサイズを変更したときは可能な限り追従するようになっています。