Skip to content

Commit

Permalink
Merge branch 'develop' into feature/text-mode-js
Browse files Browse the repository at this point in the history
# Conflicts:
#	dist/entry.css
#	dist/entry.js
#	dist/entry.min.js
#	src/css/components/playground.less
  • Loading branch information
SeonMyungLim committed Aug 30, 2016
2 parents 2156259 + 10ec04c commit f5cb3d5
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 23 deletions.
13 changes: 6 additions & 7 deletions dist/entry.css
Original file line number Diff line number Diff line change
Expand Up @@ -4734,20 +4734,19 @@ input.entryObjectNameWorkspace:-moz-read-only {
display: block !important;
visibility: hidden;
}
.entryPlaygroundPictureWorkspace {
position: absolute;
top: 47px;
.entryPlaygroundPicturePhone {
margin-left: 0;
height: 100%;
background-color: #ececec;
}
.entryPlaygroundPictureWorkspace {
position: absolute;
left: 0;
right: 0;
bottom: 0;
background-color: #ececec;
}
.entryPlaygroundPicturePhone {
top: 47px;
margin-left: 0;
height: 100%;
background-color: #ececec;
}
.entryPlaygroundAddPicture {
position: absolute;
Expand Down
1 change: 1 addition & 0 deletions dist/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -10442,6 +10442,7 @@ Entry.Painter2 = function(b) {
this._pasteButton.style.display = this.clipboard ? "block" : "none";
};
b.file_save = function() {
this.lc.trigger("dispose");
var a = this.lc.getImage().toDataURL();
this.file_ = JSON.parse(JSON.stringify(this.file));
Entry.dispatchEvent("saveCanvasImage", {file:this.file_, image:a});
Expand Down
12 changes: 6 additions & 6 deletions dist/entry.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 9 additions & 10 deletions src/css/components/playground.less
Original file line number Diff line number Diff line change
Expand Up @@ -348,21 +348,20 @@
visibility: hidden;
}

.entryPlaygroundPictureWorkspace {
position: absolute;
top: 47px;
.entryPlaygroundPicturePhone {
margin-left: 0;
height: 100%;
left: 0;
right: 0;
bottom: 0;
background-color: #ececec;
}

.entryPlaygroundPicturePhone {
margin-left: 0;
height: 100%;
background-color: #ececec;
.entryPlaygroundPictureWorkspace {
position: absolute;
left: 0;
right: 0;
bottom: 0;
background-color: #ececec;
top: 47px;
margin-left: 0;
}

.entryPlaygroundAddPicture {
Expand Down
1 change: 1 addition & 0 deletions src/painter2.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ p.updateEditMenu = function() {
};

p.file_save = function() {
this.lc.trigger("dispose")
var dataURL = this.lc.getImage().toDataURL();
this.file_ = JSON.parse(JSON.stringify(this.file));
Entry.dispatchEvent('saveCanvasImage',
Expand Down

0 comments on commit f5cb3d5

Please sign in to comment.