Commit 2ed3c389 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

ctrl+click

parent fae3c7f5
......@@ -947,7 +947,10 @@ MPRMarker.prototype.init = function(){
$(this.target).append(html);
html.find("shape").on('click',function(){
html.find("shape").on('click',function(e){
if(Scene._ctrlKey){
var uid = $(this).attr("uid");
$(".mprmarker[uid="+uid+"]").each(function(){
$(this).parent().parent().parent().remove();
......@@ -956,6 +959,8 @@ MPRMarker.prototype.init = function(){
// remove from Data.mpr.markers
mpr_marker_remove_by_uid(uid);
}
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment