1
0
mirror of https://github.com/mrusme/neonmodem.git synced 2024-11-03 04:27:16 -05:00

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

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,