From 17e6cf9b38a2218027f61d17e7e58b7bd241cf15 Mon Sep 17 00:00:00 2001 From: epicabsol Date: Fri, 5 Aug 2016 22:32:24 -0700 Subject: [PATCH] Dither & stroke cursors Added dither and stroke cursors. The line on the stroke cursor is quite hard to see, but I think that's pretty unaviodable. I would suggest moving to a larger cursor size. --- src/css/tools.css | 9 ++++++--- src/img/cursors/dither.png | Bin 0 -> 702 bytes src/img/cursors/stroke.png | Bin 450 -> 617 bytes 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 src/img/cursors/dither.png diff --git a/src/css/tools.css b/src/css/tools.css index c79d2677..33d02051 100644 --- a/src/css/tools.css +++ b/src/css/tools.css @@ -38,11 +38,14 @@ cursor: url(../img/cursors/vertical-mirror-pen.png) 5 15, pointer; } -.tool-pen .drawing-canvas-container:hover, -.tool-dithering .drawing-canvas-container:hover { +.tool-pen .drawing-canvas-container:hover { cursor: url(../img/cursors/pen.png) 1 14, pointer; } +.tool-dithering .drawing-canvas-container:hover { + cursor: url(../img/cursors/dither.png) 1 14, pointer; +} + .tool-lighten .drawing-canvas-container:hover { cursor: url(../img/cursors/lighting.png) 1 15, pointer; } @@ -52,7 +55,7 @@ } .tool-stroke .drawing-canvas-container:hover { - cursor: url(../img/cursors/pen.png) 1 14, pointer; + cursor: url(../img/cursors/stroke.png) 1 14, pointer; } .tool-rectangle .drawing-canvas-container:hover { diff --git a/src/img/cursors/dither.png b/src/img/cursors/dither.png new file mode 100644 index 0000000000000000000000000000000000000000..bbbe6e9d472136d68a86c783ad494315ceaf60c9 GIT binary patch literal 702 zcmV;v0zv(WP)tN#a-ClgdGb6so4$%A$aJJ1f4o}=-@Hvs&wcm zdFvMR2fAn=>@J}h%s7h~>?A0JVah_L?Bbh2e;rmgwW3?!%j5GNAAaBW9vsAR96OiG zNiLTY+qT8FZ83AEm`6BgHqIT#u@Aj4!2JBYoyla(NF)LXnM@WmL67Jlkj-Wg(TJSV zLDNX5)8>cb3)Q(c)}sNWQYnc>qm)WTM8LB0Xqr$c7STk*%3np$C>4qbf|buxuhn>Z zr}cFhAP55dz-L$a0QkOYtjY%jb+E6LLNxG|A_xK^vE;A@Fg-mb*^7PTEeiw+r2-m_ zCIH1k5dbT10Yb4*V)5f59m|uu;l{)OUn!J2I+-S`!$!W3h@gCh@B3W3|FRW;L?U4u zh9O?X6VLO+FbpvaLp-k{UZwJjE1q~>gA<8_-TZ}Wwb~zx$8ERlngI2B9TCBG%K+4B zbe@K#D^p}mh4^de-8ZSux$G>j zkbE%vo7`*=ME6$*MxJq6Z)NF?!@|}cMtYE)xfyoXHyL{MyXXXa`=Pt9kwSj1R|CF0=Fk*Fx-qOOAWINqw kBIup*SJy{pZ}C6!6a7#o3cllY1poj507*qoM6N<$f?LBr$p8QV literal 0 HcmV?d00001 diff --git a/src/img/cursors/stroke.png b/src/img/cursors/stroke.png index 0bfecd50ee9f5bc5828f0c0745aa3e0effcbe250..641f438b4972fb40652b77a8287fbeb23f372cdf 100644 GIT binary patch delta 592 zcmV-W0whikrk&Z{bemc7jFs=dsoccO4(~}N&gZJsTL4Jnf;v?9VEbK}a z0Kf%pGgnxxqJL4GhO?<+*(ky151{h>D~?}z%7iQY<1yq;4(fqpU{(qB+y@L?ea`;5 zg*LohfYNgYmGpbmzN{c}?N!UQW$tjK4taD$T-ZE z8ASEQuK32od@m6jCBY+tSSo%lxIh44YtHJ4SOR+#4}U%;7hzPJ=JVJ>YXTb$M+dObdWk9*`1NuEdeDo{#uALzQ_#A*VH|yiz+Pp<>k%3W zh8+i}+YY4s>j(hSOB*;fJBhG<8e0&MwFl731-y+WL6V_tH8gV#=n&i##4RHBj)>iF zWe^+gl1U2Z7>abF$ETvaf5?8LT((GvWg_;Ch|LSZQ{xv8o4bY>yO|jVFe(Jg3c*u} ec)#iPll=i7Zs^g;3_0K)Z#KM!W!(vQ-6}Tyx|}!`#}xw_C3!B z-yaPC&0j)XcpuX@rNfq|q}N(wJOjA&>u+z?dfJEuLePrqzy!)73pvLjxk4d6XNZt? zhm_iYES{i}J5y3l?}PPNYDBR7oPc~6L^d)Bi4Q2L3pnp!nFxN9c2E+=@XAl&+;2m6 za~kZj1r3Mz34hKwAYJvM`m%_8)DB_Egoaxng})UXdb)_=FM_>=P89P8#IP#xjp}rD zSmd_Bgq*~%D)746Q4|?eA1<&vYeZtzfXuNAJl&7ec_V&3<+`Bqab1P*2p)ZA#GP7% z9j%DYbc5&@Y*aH+v>hdW9R)swBX=JWtO|zAEf}V>pdrUQ6fovCZT