Skip to content

Commit

Permalink
#1426 / #1432: fix html5 scrolling (used wrong vertical offset value …
Browse files Browse the repository at this point in the history
…- doh)

git-svn-id: https://xpra.org/svn/Xpra/trunk@15275 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Mar 12, 2017
1 parent db09210 commit f10b787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/html5/js/Window.js
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ XpraWindow.prototype.do_paint = function paint(x, y, width, height, coding, img_
sh = scroll_data[3],
xdelta = scroll_data[4],
ydelta = scroll_data[5];
this.offscreen_canvas_ctx.drawImage(this.offscreen_canvas, sx, sy, sw, sh, sx+xdelta, y+ydelta, sw, sh);
this.offscreen_canvas_ctx.drawImage(this.offscreen_canvas, sx, sy, sw, sh, sx+xdelta, sy+ydelta, sw, sh);
}
painted();
}
Expand Down

0 comments on commit f10b787

Please sign in to comment.