this repo has no description
0
fork

Configure Feed

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

sokol build fux

nesbox 1359b31e 1ae2560f

+1 -1
+1 -1
src/system/sokol/sokol.c
··· 357 357 sokol_calc_viewport(&rect.x, &rect.y, &rect.w, &rect.h); 358 358 359 359 if (rect.w) { 360 - s32 temp_x = ((s32)event->mouse_x - rect.x) * TIC80_FULLWIDTH / rect.w 360 + s32 temp_x = ((s32)event->mouse_x - rect.x) * TIC80_FULLWIDTH / rect.w; 361 361 if (temp_x < 0) temp_x = 0; else if (temp_x >= TIC80_FULLWIDTH) temp_x = TIC80_FULLWIDTH-1; // clip: 0 to TIC80_FULLWIDTH-1 362 362 input->mouse.x = temp_x; 363 363 }