| commit | 3eb01fbb190a25ccc6342bfcbe76da7eea00d3a9 | [log] [tgz] |
|---|---|---|
| author | gwt.team.knorton <gwt.team.knorton@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed May 16 19:52:51 2007 +0000 |
| committer | gwt.team.knorton <gwt.team.knorton@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Wed May 16 19:52:51 2007 +0000 |
| tree | 896d503b37f9a93d008c700eccd418e523c1bb1f | |
| parent | 4f6cb961646f2dbec47fb268ba24973728e9b605 [diff] |
Fixes Issue #1050. Adds ONMOUSEWHEEL to the sinkEvents call for the clipped state of Image. Patch by: bobv Review by: knorton git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1038 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/ui/Image.java b/user/src/com/google/gwt/user/client/ui/Image.java index 5c44e6b..e0752af 100644 --- a/user/src/com/google/gwt/user/client/ui/Image.java +++ b/user/src/com/google/gwt/user/client/ui/Image.java
@@ -171,7 +171,7 @@ this.height = height; this.url = url; image.setElement(impl.createStructure(url, left, top, width, height)); - image.sinkEvents(Event.ONCLICK | Event.MOUSEEVENTS); + image.sinkEvents(Event.ONCLICK | Event.MOUSEEVENTS | Event.ONMOUSEWHEEL); fireSyntheticLoadEvent(image); }