Commit cda12f58 by Masaru Abe

#16549 WebViewerで、差し替え画像の上に置いたボタンの動きが正しくない

parent e90749d6
......@@ -3589,7 +3589,9 @@ CONTENTVIEW.ContentPage.prototype.drawPage = function (context, opt) {
/* If have hitTest on the objects within the page and return PageObject */
CONTENTVIEW.ContentPage.prototype.hitTest = function (px, py) {
for (var i = 0; i < this.pageObjects.length; i++) {
//#16549 WebViewerで、差し替え画像の上に置いたボタンの動きが正しくない
//for (var i = 0; i < this.pageObjects.length; i++) {
for (var i = this.pageObjects.length - 1; i > -1; i--) {
if (this.pageObjects[i].hitTest(px, py)) {
return this.pageObjects[i];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment