Selection err
This commit is contained in:
parent
79631004f8
commit
d4aa4b09a0
@ -8,10 +8,14 @@ const store = require('../store');
|
||||
var $ = require('jquery');
|
||||
L.HoldNode = L.Marker.extend({
|
||||
select() {
|
||||
if(this._icon!==null) {
|
||||
this._icon.childNodes[0].style['background-color'] = 'red';
|
||||
}
|
||||
},
|
||||
deselect() {
|
||||
if(this._icon!==null) {
|
||||
this._icon.childNodes[0].style['background-color'] = '#4838cc';
|
||||
}
|
||||
},
|
||||
addListeners: function () {
|
||||
this.on('editable:drawing:move', function (event) {
|
||||
|
Loading…
Reference in New Issue
Block a user