parent
81080da06f
commit
e21a31e72f
|
@ -557,6 +557,9 @@ class PostNotesOverlayControl extends events.EventTarget {
|
||||||
this._post.notes.addEventListener('remove', e => {
|
this._post.notes.addEventListener('remove', e => {
|
||||||
this._deleteDomNode(e.detail.note);
|
this._deleteDomNode(e.detail.note);
|
||||||
});
|
});
|
||||||
|
this._post.notes.addEventListener('add', e => {
|
||||||
|
this._createPolygonNode(e.detail.note);
|
||||||
|
});
|
||||||
|
|
||||||
const keyHandler = e => this._evtCanvasKeyDown(e);
|
const keyHandler = e => this._evtCanvasKeyDown(e);
|
||||||
document.addEventListener('keydown', keyHandler);
|
document.addEventListener('keydown', keyHandler);
|
||||||
|
|
Loading…
Reference in New Issue