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.
This commit is contained in:
epicabsol 2016-08-05 22:32:24 -07:00
parent d795c297f5
commit 17e6cf9b38
3 changed files with 6 additions and 3 deletions

View File

@ -38,11 +38,14 @@
cursor: url(../img/cursors/vertical-mirror-pen.png) 5 15, pointer; cursor: url(../img/cursors/vertical-mirror-pen.png) 5 15, pointer;
} }
.tool-pen .drawing-canvas-container:hover, .tool-pen .drawing-canvas-container:hover {
.tool-dithering .drawing-canvas-container:hover {
cursor: url(../img/cursors/pen.png) 1 14, pointer; 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 { .tool-lighten .drawing-canvas-container:hover {
cursor: url(../img/cursors/lighting.png) 1 15, pointer; cursor: url(../img/cursors/lighting.png) 1 15, pointer;
} }
@ -52,7 +55,7 @@
} }
.tool-stroke .drawing-canvas-container:hover { .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 { .tool-rectangle .drawing-canvas-container:hover {

BIN
src/img/cursors/dither.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 450 B

After

Width:  |  Height:  |  Size: 617 B