mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Basic cut implementation
SelectionManager implmentaiton Rectangular seleciton impl Utils refacoring Event manager refactoring basic cut implmentation
This commit is contained in:
13
js/selection/BaseSelection.js
Normal file
13
js/selection/BaseSelection.js
Normal file
@@ -0,0 +1,13 @@
|
||||
(function () {
|
||||
var ns = $.namespace("pskl.selection");
|
||||
|
||||
ns.BaseSelection = function () {
|
||||
this.pixels = [];
|
||||
};
|
||||
|
||||
ns.BaseSelection.prototype.getFrameSliceFromSelection = function (frame) {
|
||||
if(this.pixels && this.pixels > 0) {
|
||||
|
||||
}
|
||||
};
|
||||
})();
|
||||
Reference in New Issue
Block a user