this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: zero division check translateMouse

authored by

frehml and committed by
Tim Culverhouse
d33a9f98 b20cd902

+1
+1
src/Vaxis.zig
··· 716 716 const yextra = self.screen.height_pix % self.screen.height; 717 717 const xcell = (self.screen.width_pix - xextra) / self.screen.width; 718 718 const ycell = (self.screen.height_pix - yextra) / self.screen.height; 719 + if (xcell == 0 or ycell == 0) return mouse; 719 720 result.col = xpos / xcell; 720 721 result.row = ypos / ycell; 721 722 result.xoffset = xpos % xcell;