mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-28 19:01:31 +02:00
Don't show an empty menu
This commit is contained in:
@@ -2,6 +2,9 @@ iD.ui.RadialMenu = function(operations) {
|
||||
var menu;
|
||||
|
||||
var radialMenu = function(selection, center) {
|
||||
if (!operations.length)
|
||||
return;
|
||||
|
||||
function click(operation) {
|
||||
d3.event.stopPropagation();
|
||||
operation();
|
||||
|
||||
Reference in New Issue
Block a user