Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
1b091b3b
Commit
1b091b3b
authored
May 09, 2022
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_svg_editor: stop autoloading content from localstorage
parent
bc202264
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/method-draw/js/start.js.js
...m/portal_skins/erp5_svg_editor/method-draw/js/start.js.js
+2
-2
No files found.
bt5/erp5_svg_editor/SkinTemplateItem/portal_skins/erp5_svg_editor/method-draw/js/start.js.js
View file @
1b091b3b
...
...
@@ -32,7 +32,7 @@ const shapeLib = svgCanvas.addExtension.apply(this, ["shapes", MD.Shapelib]);
const
eyedropper
=
svgCanvas
.
addExtension
.
apply
(
this
,
[
"
eyedropper
"
,
MD
.
Eyedropper
]);
state
.
set
(
"
canvasId
"
,
t
(
"
Untitled
"
));
state
.
set
(
"
canvasMode
"
,
state
.
get
(
"
canvasMode
"
));
/*
// load from param
console.log(window.location.search)
if (!window.location.search.includes("?load=")) {
...
...
@@ -56,7 +56,7 @@ else {
}
state.set("canvasTitle", svgCanvas.getDocumentTitle());
*/
//editor.paintBox.fill.setPaint(state.get("canvasFill"));
//editor.paintBox.stroke.setPaint(state.get("canvasStroke"));
//editor.paintBox.canvas.setPaint(state.get("canvasBackground"));
...
...
Write
Preview
Markdown
is supported
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