icat: When using --place ensure screen doesnt scroll by leaving cursor at top-left corner of image.

This commit is contained in:
Kovid Goyal
2023-01-04 11:44:47 +05:30
parent cab7856495
commit a2c68a927e
2 changed files with 5 additions and 1 deletions

View File

@@ -35,6 +35,9 @@ func gc_for_image(imgd *image_data, frame_num int, frame *image_frame) *graphics
if z_index != 0 {
gc.SetZIndex(z_index)
}
if place != nil {
gc.SetCursorMovement(graphics.GRT_cursor_static)
}
} else {
gc.SetAction(graphics.GRT_action_frame)
gc.SetGap(int32(frame.delay_ms))