Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Devrim Gunyel
core
Commits
e07cf46d
Commit
e07cf46d
authored
Nov 13, 2019
by
Piotr Gawron
Browse files
Select mode moved to the last position in the context menu
parent
c31ff231
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend-js/src/main/js/gui/MapContextMenu.js
View file @
e07cf46d
...
...
@@ -39,9 +39,6 @@ MapContextMenu.prototype._createMapContextMenuGui = function() {
self
.
addOption
(
"
Add comment
"
,
function
()
{
return
self
.
getMap
().
openCommentDialog
();
});
self
.
addOption
(
"
Select mode
"
,
function
()
{
return
self
.
getMap
().
toggleDrawing
();
});
};
/**
...
...
@@ -55,6 +52,9 @@ MapContextMenu.prototype.init = function() {
return
self
.
createExportAsModelSubmenu
();
}).
then
(
function
(
submenu
){
self
.
addOption
(
submenu
);
self
.
addOption
(
"
Select mode
"
,
function
()
{
return
self
.
getMap
().
toggleDrawing
();
});
});
};
...
...
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