From b39da65dcbd75a20ed0aebfc36c2c57dda3deb66 Mon Sep 17 00:00:00 2001 From: Karl Ove Hufthammer Date: Tue, 6 Jul 2004 14:45:30 +0000 Subject: [PATCH] Fixed pixeldirt when selecting right-most paint bucket. Also moved the paint bucket down a little, which looks better. --- data/images/ui/paintcan.png | Bin 2743 -> 2689 bytes src/tuxpaint.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/data/images/ui/paintcan.png b/data/images/ui/paintcan.png index b056bd7d4e43de98a20bad694ee282e7437d7f05..d3c41fadd8e4f382e2983f4a64ceca896697224d 100644 GIT binary patch delta 2674 zcmV-&3XS!*6@e9yDu4d~{{a7>y{D4^000SaNLh0L01FZT01FZU(%pXi00007bV*G` z2h;}!4g@jn9G_tT016ICL_t(|+O3#fY!ufO$N%Tf%IS*A8i9DoHBqFLv5sivm;qn`aDM=lWV8j`CAxK561Y_WngFZ?P$y6g0M-d)sKRou)QT)1SpZ`IZUD#& z*erl?0Fwab0hG!ib+J|xfFA<*0f1%zv17-MedmJ@K4?C5>Qp?R&y%j}0075vD3{CK z7Bm`-awHOA05A;0+qiM#!sCxWe*NjEpZ-!TmKV570Dmq57zHrL%u67Nnd<<2AHdJI zZQJ(ibLY<0&CbqhuIoZ6h1%L$D5c;7*3{Hs>(;HFX_{5xa=9G(`ub>YZjR)oU|AMC z&-?bFL}+SiDn0SU6O#uH9QZSUJ^+6g$UFdV5t5nLFmn$x{~iF>)zx`hw{G>$pFi(1 zvwwR3?30iEuO;^%fQu z{>03`Vdi#bjxsa(fGXhp#LVdL@27@_2G!HkLw|es?p<6aW(E;K*L6f95rje^7={6* z6o?2xzhPz+3I*izc{q-Pd_Ip%CWHO^_tTy|dkBCU9UUddaj>wkK>POX+Xx^HpiyE% z`Sa-2(#F`>7^bJEQCC-o_V#wzwvF-eaTJTiMHt_w$`8{t5s$~A>pBd>Kr9x6uIq@! zVt*JI7{CJ$Jb=$W`;3SP%#4YNi70@2$sVB~k6z8m4<9~^&dy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aint.c index da828ac8d..cc979467c 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -5933,7 +5933,7 @@ void draw_colors(int enabled) if (i == cur_color && enabled) { dest.x = (i * ((WINDOW_WIDTH - 96) / NUM_COLORS)) + 96; - dest.y = 40 + ((NUM_TOOLS / 2) * 48) + HEIGHTOFFSET; + dest.y = 44 + ((NUM_TOOLS / 2) * 48) + HEIGHTOFFSET; SDL_BlitSurface(img_paintcan, NULL, screen, &dest); }