mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-31 06:18:17 +00:00
Bump version of imaging for a few more fixes
This commit is contained in:
parent
2eddb6ab19
commit
57f7c8f65e
4 changed files with 5 additions and 5 deletions
|
|
@ -269,7 +269,7 @@ func OpenNativeImageFromReader(f io.ReadSeeker) (ans *ImageData, err error) {
|
|||
|
||||
for _, f := range ic.Frames {
|
||||
fr := ImageFrame{
|
||||
Img: f.Image, Left: f.X, Top: f.Y, Width: f.Image.Bounds().Dx(), Height: f.Image.Bounds().Dy(),
|
||||
Img: f.Image, Left: f.TopLeft.X, Top: f.TopLeft.Y, Width: f.Image.Bounds().Dx(), Height: f.Image.Bounds().Dy(),
|
||||
Compose_onto: int(f.ComposeOnto), Number: int(f.Number), Delay_ms: int32(f.Delay.Milliseconds()),
|
||||
Replace: f.Replace, Is_opaque: imaging.IsOpaque(f.Image),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue