CPath: when empty close any popups
Signed-off-by: Dennis Francis <dennis.francis@collabora.com> Change-Id: Ic44ff6d432b8f5e05e439de9c60b41763493e900
This commit is contained in:
parent
cb1b5d4e64
commit
03f413a25b
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ class CPolyline extends CPath {
|
|||
|
||||
this.pointSet = pointSet;
|
||||
this.updateRingsBounds();
|
||||
if (this.pointSet.empty()) {
|
||||
this.closePopup({});
|
||||
}
|
||||
return this.redraw(oldBounds);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue