Skip to content

Commit

Permalink
Merge pull request #3267 from kwvanderlinde/issue-2348-pointermap-whi…
Browse files Browse the repository at this point in the history
…tespace

Allow whitespace with --pointermap CSS
  • Loading branch information
Phergus authored Dec 11, 2021
2 parents bdc6a12 + 8eb571d commit 44fcb4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ HTMLOverlayPanel.mousePassResult getMousePassResult(int x, int y) {
if (element == null) {
return HTMLOverlayPanel.mousePassResult.BLOCK;
} else {
String pe = (String) element.eval(SCRIPT_GET_POINTERMAP);
String pe = ((String) element.eval(SCRIPT_GET_POINTERMAP)).trim();
if ("blockopaque".equals(pe)) return HTMLOverlayPanel.mousePassResult.CHECK_OPACITY;
if ("block".equals(pe)) return HTMLOverlayPanel.mousePassResult.BLOCK;
return HTMLOverlayPanel.mousePassResult.PASS;
Expand Down

0 comments on commit 44fcb4a

Please sign in to comment.