fix(ui/chat): honor configured picker size for attachments list (#778)

This commit is contained in:
ayn2op 2026-03-20 01:24:10 -04:00 • committed by GitHub
parent 6e3f340b55
commit ac5198636c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1170,7 +1170,7 @@ func (ml *messagesList) showAttachmentsList(urls []string, attachments []discord
ml.chatView.
AddLayer(
ui.Centered(ml.attachmentsPicker, 0, 0),
ui.Centered(ml.attachmentsPicker, ml.cfg.Picker.Width, ml.cfg.Picker.Height),
layers.WithName(attachmentsListLayerName),
layers.WithResize(true),
layers.WithVisible(true),