From 3326db5f13d3e2c6ebd17dd1605f5f4b93ecaea1 Mon Sep 17 00:00:00 2001 From: Pere Pujal i Carabantes Date: Thu, 21 Jan 2021 00:06:50 +0100 Subject: [PATCH] Tweaking stamp sizer position. --- src/tuxpaint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index a9528dc1a..c72d7af81 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -9221,11 +9221,11 @@ static void draw_stamps(void) /* FIXME: Check for NULL! */ dest.x = (WINDOW_WIDTH - r_ttoolopt.w) + (i * x_per); - dest.y = (((most + gd_toolopt.cols + gd_toolopt.cols + gd_toolopt.cols + TOOLOFFSET) / gd_toolopt.cols * button_h)) - 8; + dest.y = (((most + gd_toolopt.cols + gd_toolopt.cols + gd_toolopt.cols + TOOLOFFSET) / gd_toolopt.cols * button_h)) - 8 * button_scale; SDL_BlitSurface(blnk, NULL, screen, &dest); dest.x = (WINDOW_WIDTH - r_ttoolopt.w) + (i * x_per); - dest.y = (((most + gd_toolopt.cols + gd_toolopt.cols + gd_toolopt.cols + gd_toolopt.cols + TOOLOFFSET) / gd_toolopt.cols * button_h)) - 8 - (y_per * i); + dest.y = (((most + gd_toolopt.cols + gd_toolopt.cols + gd_toolopt.cols + gd_toolopt.cols + TOOLOFFSET) / gd_toolopt.cols * button_h)) - 8 * button_scale - (y_per * i); SDL_BlitSurface(btn, NULL, screen, &dest); SDL_FreeSurface(btn);