mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Removed a few dependencies, refactored pixel-editor.js
This commit is contained in:
21
js/Tool.js
21
js/Tool.js
@ -123,23 +123,4 @@ class Tool {
|
||||
get size() {
|
||||
return this.currSize;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*global dragging currentTool, currentToolTemp, selectionCanceled, endSelection*/
|
||||
|
||||
/**
|
||||
* Class selectionTool extends Tool {
|
||||
* imageDataToMove
|
||||
* startDataPos
|
||||
* currDataPos
|
||||
* finalDataPos
|
||||
* canMove
|
||||
*
|
||||
* movePreview()
|
||||
*
|
||||
* // start and end selection just overwrite the onStart and onEnd methods
|
||||
*
|
||||
* }
|
||||
*
|
||||
*/
|
||||
}
|
Reference in New Issue
Block a user