mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
another fix in the code
This commit is contained in:
parent
1692822914
commit
a0485331ae
@ -16301,6 +16301,10 @@ zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License
|
||||
ns.SelectionManager.prototype.pastePixels = function(pixels) {
|
||||
var currentFrame = this.piskelController.getCurrentFrame();
|
||||
|
||||
pixels.forEach(function (pixel) {
|
||||
currentFrame.setPixel(pixel.col,pixel.row,pixel.color);
|
||||
});
|
||||
|
||||
$.publish(Events.PISKEL_SAVE_STATE, {
|
||||
type : pskl.service.HistoryService.REPLAY,
|
||||
scope : this,
|
||||
@ -16309,10 +16313,6 @@ zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License
|
||||
pixels : JSON.parse(JSON.stringify(pixels.slice(0)))
|
||||
}
|
||||
});
|
||||
|
||||
pixels.forEach(function (pixel) {
|
||||
currentFrame.setPixel(pixel.col,pixel.row,pixel.color);
|
||||
});
|
||||
};
|
||||
|
||||
ns.SelectionManager.prototype.replay = function (frame, replayData) {
|
File diff suppressed because one or more lines are too long
2
js/piskel-packaged-min.js
vendored
2
js/piskel-packaged-min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,9 +1,9 @@
|
||||
(function () {
|
||||
|
||||
/**
|
||||
* See @Gruntfile.js => after build, -2014-07-13-09-02 is replaced by the build version
|
||||
* See @Gruntfile.js => after build, -2014-07-14-12-37 is replaced by the build version
|
||||
*/
|
||||
var version = '-2014-07-13-09-02';
|
||||
var version = '-2014-07-14-12-37';
|
||||
var versionHasNotBeenReplaced = version.indexOf('@@') === 0;
|
||||
if (versionHasNotBeenReplaced) {
|
||||
version = '';
|
||||
|
Loading…
Reference in New Issue
Block a user