don't clip on setting the position
This commit is contained in:
parent
9e8b49224f
commit
2fa9b5aa12
1 changed files with 5 additions and 1 deletions
|
|
@ -134,7 +134,11 @@ var Anchor = exports.Anchor = function(doc, row, column) {
|
||||||
};
|
};
|
||||||
|
|
||||||
this.setPosition = function(row, column) {
|
this.setPosition = function(row, column) {
|
||||||
pos = this.$clipPositionToDocument(row, column);
|
//pos = this.$clipPositionToDocument(row, column);
|
||||||
|
pos = {
|
||||||
|
row: row,
|
||||||
|
column: column
|
||||||
|
};
|
||||||
if (this.row == pos.row && this.column == pos.column)
|
if (this.row == pos.row && this.column == pos.column)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue