~rabbits/nasu

3f7c9f468cbfa71732f37e8c8c8c8fd8640a0af3 — neauoire 2 years ago 902b0c8
Fixed down click issue
2 files changed, 1 insertions(+), 1 deletions(-)

M .gitignore
M nasu.c
M .gitignore => .gitignore +1 -0
@@ 2,6 2,7 @@
*jpg~
*png~
*gif~
*bmp~
nasu
nasu-export.chr
nasu-render.bmp
\ No newline at end of file

M nasu.c => nasu.c +0 -1
@@ 345,7 345,6 @@ domouse(SDL_Event* event, Brush* b)
		}
		b->px = (event->motion.x - (PAD * ZOOM)) / ZOOM;
		b->py = (event->motion.y - (PAD * ZOOM)) / ZOOM;
		break;
	case SDL_MOUSEMOTION:
		if(b->down) {
			b->x = (event->motion.x - (PAD * ZOOM)) / ZOOM;