From 3f7c9f468cbfa71732f37e8c8c8c8fd8640a0af3 Mon Sep 17 00:00:00 2001 From: neauoire Date: Thu, 12 Nov 2020 17:10:31 -0800 Subject: [PATCH] Fixed down click issue --- .gitignore | 1 + nasu.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ae15de4..e640430 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ *jpg~ *png~ *gif~ +*bmp~ nasu nasu-export.chr nasu-render.bmp \ No newline at end of file diff --git a/nasu.c b/nasu.c index 8e4b956..31d06e7 100644 --- a/nasu.c +++ b/nasu.c @@ -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;