Explorar el Código

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

ayn2op hace 1 mes
padre
commit
ac5198636c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      internal/ui/chat/messages_list.go

+ 1 - 1
internal/ui/chat/messages_list.go

@@ -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),