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
typo3
qfq
Commits
ca0eb581
Commit
ca0eb581
authored
Mar 05, 2018
by
bbaer
Browse files
Corrected resizing with changed width in editor
parent
d888b147
Changes
1
Hide whitespace changes
Inline
Side-by-side
javascript/src/Plugins/qfq.fabric.js
View file @
ca0eb581
...
@@ -297,7 +297,7 @@ $(function (n) {
...
@@ -297,7 +297,7 @@ $(function (n) {
this
.
generateCanvas
(
width
,
height
);
this
.
generateCanvas
(
width
,
height
);
if
(
this
.
outputField
.
val
())
{
if
(
this
.
outputField
.
val
())
{
this
.
canvas
.
loadFromJSON
(
this
.
outputField
.
val
(),
function
()
{
this
.
canvas
.
loadFromJSON
(
this
.
outputField
.
val
(),
function
()
{
that
.
setBackground
();
that
.
resizeCanvas
();
that
.
setBrush
();
that
.
setBrush
();
that
.
canvas
.
renderAll
();
that
.
canvas
.
renderAll
();
that
.
userChangePossible
=
true
;
that
.
userChangePossible
=
true
;
...
...
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