mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-15 12:53:52 +01:00
refresh on remove
This commit is contained in:
parent
c20fc42522
commit
95d231378d
1 changed files with 1 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ TCAD.TWO.AddSegmentTool.prototype.mousewheel = function(e) {
|
|||
TCAD.TWO.AddSegmentTool.prototype.keydown = function(e) {
|
||||
if (this.multi && e.keyCode == 27) {
|
||||
this.viewer.remove(this.line);
|
||||
this.viewer.refresh();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue