Fix typo in Renderer.textToScreenCoordinates(). window.jump works now again
This commit is contained in:
parent
be957fd2c1
commit
a601630905
1 changed files with 1 additions and 2 deletions
|
|
@ -591,8 +591,7 @@ var VirtualRenderer = function(container, theme) {
|
||||||
var canvasPos = this.scroller.getBoundingClientRect();
|
var canvasPos = this.scroller.getBoundingClientRect();
|
||||||
var pos = this.doc.documentToScreenPosition(row, column);
|
var pos = this.doc.documentToScreenPosition(row, column);
|
||||||
|
|
||||||
|
var x = this.$padding + Math.round(pos.column * this.characterWidth);
|
||||||
var x = this.padding + Math.round(pos.column * this.characterWidth);
|
|
||||||
var y = pos.row * this.lineHeight;
|
var y = pos.row * this.lineHeight;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue