Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
morpheus.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Daria Zenkova
morpheus.js
Commits
f4b29778
Commit
f4b29778
authored
Apr 07, 2016
by
joshua-gould
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shortcut key on mac
parent
79af9129
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
src/tools/new_heat_map_tool.js
src/tools/new_heat_map_tool.js
+1
-1
src/util/util.js
src/util/util.js
+2
-0
No files found.
src/tools/new_heat_map_tool.js
View file @
f4b29778
...
...
@@ -2,7 +2,7 @@ morpheus.NewHeatMapTool = function() {
};
morpheus
.
NewHeatMapTool
.
prototype
=
{
toString
:
function
()
{
return
'
New Heat Map (
Ctrl
+X)
'
;
return
'
New Heat Map (
'
+
morpheus
.
Util
.
COMMAND_KEY
+
'
+X)
'
;
},
// gui : function() {
// return [ {
...
...
src/util/util.js
View file @
f4b29778
...
...
@@ -303,6 +303,8 @@ if (typeof navigator !== 'undefined') {
morpheus
.
Util
.
IS_MAC
=
navigator
.
platform
.
match
(
/
(
Mac|iPhone|iPod|iPad
)
/i
)
?
true
:
false
;
}
morpheus
.
Util
.
COMMAND_KEY
=
morpheus
.
Util
.
IS_MAC
?
'
⌘
'
:
'
Ctrl
'
;
morpheus
.
Util
.
hammer
=
function
(
el
,
recognizers
)
{
var
hammer
=
new
Hammer
(
el
,
{
recognizers
:
[]
...
...
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