mirror of
https://github.com/idrawjs/idraw
synced 2026-05-24 10:08:34 +00:00
fix: @idraw/core clear data when select area end
This commit is contained in:
parent
15744ddf35
commit
6d34ce49bd
1 changed files with 2 additions and 1 deletions
|
|
@ -96,6 +96,7 @@ export class Helper implements TypeHelper {
|
|||
|
||||
startSelectArea(p: TypePoint) {
|
||||
this._areaStart = p;
|
||||
this._areaEnd = p;
|
||||
}
|
||||
|
||||
changeSelectArea(p: TypePoint) {
|
||||
|
|
@ -105,7 +106,7 @@ export class Helper implements TypeHelper {
|
|||
|
||||
clearSelectedArea() {
|
||||
this._areaStart = {x: 0, y: 0};
|
||||
this._areaStart = {x: 0, y: 0};
|
||||
this._areaEnd = {x: 0, y: 0};
|
||||
this._calcSelectedArea();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue