From d795c297f57fdf589af7653aa9a7d39a0fdf6355 Mon Sep 17 00:00:00 2001 From: epicabsol Date: Fri, 5 Aug 2016 21:34:46 -0700 Subject: [PATCH] Lighting cursor, more tweaks Added an icon for the lighting tool, although it's somewhat difficult to see what it is without looking closely. I'd love to hear other ideas for a cursor. (See juliandescottes/piskel#351) I also reworked the hit point of the existing cursors by a few pixels. --- src/css/tools.css | 19 +++++++++++-------- src/img/cursors/lighting.png | Bin 0 -> 606 bytes 2 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 src/img/cursors/lighting.png diff --git a/src/css/tools.css b/src/css/tools.css index 0b13b42b..c79d2677 100644 --- a/src/css/tools.css +++ b/src/css/tools.css @@ -31,7 +31,7 @@ .tool-paint-bucket .drawing-canvas-container:hover, .tool-colorswap .drawing-canvas-container:hover { - cursor: url(../img/cursors/paint-bucket.png) 12 12, pointer; + cursor: url(../img/cursors/paint-bucket.png) 14 14, pointer; } .tool-vertical-mirror-pen .drawing-canvas-container:hover { @@ -39,25 +39,28 @@ } .tool-pen .drawing-canvas-container:hover, -.tool-lighten .drawing-canvas-container:hover, .tool-dithering .drawing-canvas-container:hover { - cursor: url(../img/cursors/pen.png) 0 15, pointer; + cursor: url(../img/cursors/pen.png) 1 14, pointer; +} + +.tool-lighten .drawing-canvas-container:hover { + cursor: url(../img/cursors/lighting.png) 1 15, pointer; } .tool-eraser .drawing-canvas-container:hover { - cursor: url(../img/cursors/eraser.png) 0 15, pointer; + cursor: url(../img/cursors/eraser.png) 3 14, pointer; } .tool-stroke .drawing-canvas-container:hover { - cursor: url(../img/cursors/pen.png) 0 15, pointer; + cursor: url(../img/cursors/pen.png) 1 14, pointer; } .tool-rectangle .drawing-canvas-container:hover { - cursor: url(../img/cursors/rectangle.png) 0 15, pointer; + cursor: url(../img/cursors/rectangle.png) 5 15, pointer; } .tool-circle .drawing-canvas-container:hover { - cursor: url(../img/cursors/circle.png) 2 15, pointer; + cursor: url(../img/cursors/circle.png) 5 15, pointer; } .tool-move .drawing-canvas-container:hover { @@ -74,7 +77,7 @@ } .tool-colorpicker .drawing-canvas-container:hover { - cursor: url(../img/cursors/dropper.png) 0 15, pointer; + cursor: url(../img/cursors/dropper.png) 2 15, pointer; } .swap-colors-button { diff --git a/src/img/cursors/lighting.png b/src/img/cursors/lighting.png new file mode 100644 index 0000000000000000000000000000000000000000..02fede803ef31b435620efe48671347b39cb9ce2 GIT binary patch literal 606 zcmV-k0-^nhP)ygrL@*680jFiiV;OfsoG@FMMQ8>mkf^5Q99;jl@vr! zoZJ<35QJc%Ewt*Ep;Qcl)_|2(#DrGO_q{alIwVB;M=c26=??dtd+xah{;||<2R}YP z=GLn5a%ENZ1dYIobe2Cvo$!dgTY~Rj5B-qF07oxoP?p8Q(}{R>xpKFyAdyITK@eoO z0w*W)NK2>!1YvM*lmWNK!m~Sp4KOq`?74177J=!R8B*yqN(50bI(iy~0@VZ~3WZQ! ze2EpZeH*|Soz*%_vo{#6TMj9VF*~00W_g`Uv}7}M$@HI_naO*)+h z*=)Jzc>ve|zV9=VOd<+qr)No}Q_zy@`#yz20cjB^5d_8j{M;{sjmAb!8LHQ7J}%r^{A1ih0A10LHyo+Zd*nR9fm3|0t|F@OS8&^dD`Pzp swk*yZ?xMfbA>12#a_;7f%lwb}34-#&=1IIcK>z>%07*qoM6N<$f^?<_O#lD@ literal 0 HcmV?d00001