Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
christian
quicker-sticker
Commits
287f084e
Commit
287f084e
authored
Jul 09, 2014
by
christian
Browse files
update
parent
8ef3878b
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/image-manager.js
View file @
287f084e
...
...
@@ -23,8 +23,8 @@ function ImageManager(canvasId) {
var
layer
=
new
Layer
(
img
,
src
);
layers
.
push
(
layer
);
return
layer
;
}
this
.
redraw
=
function
()
{
}
this
.
redraw
=
function
()
{
// this.canvasManager.changeShape(false);
}
this
.
getCanvas
=
function
()
{
...
...
@@ -74,7 +74,7 @@ function Layer(img,src) {
this
.
getTitle
=
function
()
{
return
this
.
title
;
}
}
this
.
getFileData
=
function
()
{
return
this
.
src
;
}
...
...
@@ -86,7 +86,7 @@ function Layer(img,src) {
}
this
.
toggleVisible
=
function
()
{
this
.
visible
=
!
this
.
visible
;
}
}
this
.
setCompositeOperation
=
function
(
compositeOperation
)
{
this
.
compositeOperation
=
compositeOperation
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment