Skip to content

Commit

Permalink
paste update
Browse files Browse the repository at this point in the history
  • Loading branch information
viliusle committed Aug 8, 2016
1 parent e1f7f13 commit 7152e12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function EDIT_CLASS() {
//paste
this.edit_paste = function () {
this.save_state();
this.paste('menu');
this.paste('menu');
};

//select all
Expand Down Expand Up @@ -98,6 +98,7 @@ function EDIT_CLASS() {
LAYER.layer_active = 0;
canvas_active().drawImage(PASTE_DATA, 0, 0);
LAYER.layer_renew();
EDIT.edit_clear();
};

this.save_state = function () {
Expand Down

0 comments on commit 7152e12

Please sign in to comment.