pixel-editor/js/tools/_select.js
unsettledgames 466eb0580c Started refactoring the code
- Can now zoom without selecting the zom tool
- Moved updateCursor to the tool class, deleted _updateCursor.js
- Removed as many references to canvas as possible, removed every global reference to context
- Added methods in Tool class to move the brush preview
2020-07-21 16:01:00 +02:00

14 lines
153 B
JavaScript

new Tool('rectselect', {
cursor: 'crosshair',
brushPreview: true,
});
new Tool('moveselection', {
cursor: 'crosshair',
});
/*global Tool, tool*/