mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
17 lines
233 B
JavaScript
17 lines
233 B
JavaScript
|
|
||
|
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*/
|