bugfix
This commit is contained in:
parent
0009f46335
commit
01113b634c
@ -165,17 +165,22 @@ bricks.Popup = class extends bricks.VBox {
|
|||||||
}
|
}
|
||||||
resizing(e){
|
resizing(e){
|
||||||
if (this.resizable_w.dom_element != e.target){
|
if (this.resizable_w.dom_element != e.target){
|
||||||
|
console.log("resizing():",this.resizable_w.dom_element. r.target);
|
||||||
this.stop_resizing();
|
this.stop_resizing();
|
||||||
console.log(this.resizable_w.dom_element. r.target);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!this.resize_status){
|
if (!this.resize_status){
|
||||||
|
console.log("resizing():this.resize_status=false");
|
||||||
this.stop_resizing();
|
this.stop_resizing();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
if (this.is_resizing) return;
|
if (this.is_resizing) {
|
||||||
|
console.log("resizing(): resizing not finished");
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (this.origin_event_x === null || this.origin_event_y === null){
|
if (this.origin_event_x === null || this.origin_event_y === null){
|
||||||
|
console.log("resizing():this.origin_event_x or y is null");
|
||||||
this.remember_event_pos(e);
|
this.remember_event_pos(e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user