Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ardublockly
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
ardublockly
Commits
9c4b83f7
Commit
9c4b83f7
authored
May 06, 2015
by
Carlos Galarza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable long-press context menu for Workspaces.
parent
b063c56c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
core/workspace_svg.js
core/workspace_svg.js
+3
-0
No files found.
core/workspace_svg.js
View file @
9c4b83f7
...
...
@@ -135,6 +135,9 @@ Blockly.WorkspaceSvg.prototype.createDom = function(opt_backgroundClass) {
}
Blockly
.
bindEvent_
(
this
.
svgGroup_
,
'
mousedown
'
,
this
,
this
.
onMouseDown_
);
var
thisWorkspace
=
this
;
Blockly
.
bindEvent_
(
this
.
svgGroup_
,
'
touchstart
'
,
null
,
function
(
e
)
{
Blockly
.
longStart_
(
e
,
thisWorkspace
);});
// Determine if there needs to be a category tree, or a simple list of
// blocks. This cannot be changed later, since the UI is very different.
...
...
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