mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
created tool class which keeps track of cursors, incorporates changeTool; made changelog data its own file
This commit is contained in:
17
js/tools/_pencil.js
Normal file
17
js/tools/_pencil.js
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
new Tool('pencil', {
|
||||
cursor: 'crosshair',
|
||||
brushPreview: true,
|
||||
});
|
||||
|
||||
|
||||
new Tool('resizebrush', {
|
||||
cursor: 'default',
|
||||
});
|
||||
|
||||
|
||||
//set as default tool
|
||||
var currentTool = tool.pencil;
|
||||
var currentToolTemp = tool.pencil;
|
||||
|
||||
/*global Tool, tool*/
|
Reference in New Issue
Block a user