vlang / ved

1 MB text editor written in V with hardware accelerated text rendering. Compiles in <1s.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error compiling vid ./timer.v:155:61: wrong number of arguments in call to `gg.GG*.draw_line(f32, f32, f32, f32)`

Fanna1119 opened this issue · comments

v -version
V 0.1.24 0d93eeb

v .
./timer.v:155:61: wrong number of arguments in call to `gg.GG*.draw_line(f32, f32, f32, f32)`
  153| 				'${hour:02d}', time_cfg)
  154| 		}
  155| 		t.gg.draw_line(hour_x, hour_y, hour_x + hour_width, hour_y, gx.gray)
             		                                                    ^
  156| 	}
  157| 	// Large left vertical line


OS version: Linux, elementary OS Hera, x64

Updating to V 0.1.25 d499116 fixes this.
However it leads to another issue, discussed here. #63