mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Moved cursor in selection check to selection tool
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
class LassoSelectionTool extends SelectionTool {
|
||||
currentPixels = []
|
||||
currSelection = {}
|
||||
|
||||
constructor (name, options, switchFunc, moveTool) {
|
||||
super(name, options, switchFunc, moveTool);
|
||||
|
||||
Events.on('click', this.mainButton, switchFunc, this);
|
||||
}
|
||||
|
||||
@ -79,4 +79,8 @@ class LassoSelectionTool extends SelectionTool {
|
||||
currFile.VFXLayer.context.fill();
|
||||
currFile.VFXLayer.context.closePath();
|
||||
}
|
||||
|
||||
getSelection() {
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user