Debug of textbox move out of bounderies
This commit is contained in:
parent
5224c6dc97
commit
22193c8e35
@ -985,8 +985,16 @@ const whiteboard = {
|
|||||||
if (isStickyNote) {
|
if (isStickyNote) {
|
||||||
cssclass += " stickyNote";
|
cssclass += " stickyNote";
|
||||||
}
|
}
|
||||||
left = left + _this.viewCoords.x;
|
|
||||||
|
// TODO: Fix canvas shrink on textbox move out of the bounderies
|
||||||
|
// Rect goes out not able to remove from screen with a kind of left > +_this.canvas.width ? -9999 : left + _this.viewCoords.x
|
||||||
|
console.log(_this.viewCoords)
|
||||||
|
console.log(this.canvas)
|
||||||
|
left = left + _this.viewCoords.x
|
||||||
top = top + _this.viewCoords.y;
|
top = top + _this.viewCoords.y;
|
||||||
|
console.log(left)
|
||||||
|
console.log(+_this.canvas.width)
|
||||||
|
|
||||||
var textBox = $(
|
var textBox = $(
|
||||||
'<div id="' +
|
'<div id="' +
|
||||||
txId +
|
txId +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user