1
0
Fork 0

Fixed splash screen size

This commit is contained in:
マリウス 2023-01-08 16:00:16 -05:00
parent f7e2ae9751
commit dc4c5a4120
No known key found for this signature in database
GPG Key ID: 272ED814BF63261F
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
m.ctx.Screen[1] = msg.Height
m.pix, err = ansimage.NewScaledFromReader(
bytes.NewReader(m.splashscreen),
m.ctx.Screen[1],
m.ctx.Screen[1]*2,
m.ctx.Screen[0],
color.Transparent,
ansimage.ScaleModeFill,