summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>2012-05-07 13:24:18 +0000
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>2012-05-07 13:24:18 +0000
commitff05bab8e8d21a9fa13295f05e5cd1f9fbe60bda (patch)
treec6abb811ef162b474b03763515c1a2ff551cd722
parent62c36174ce0d63aca7bab3936226d01734bb9b12 (diff)
downloadvaadin-framework-ff05bab8e8d21a9fa13295f05e5cd1f9fbe60bda.tar.gz
vaadin-framework-ff05bab8e8d21a9fa13295f05e5cd1f9fbe60bda.zip
#8722 Make subwindows touch scrollable
svn changeset:23688/svn branch:6.8
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VWindow.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VWindow.java b/src/com/vaadin/terminal/gwt/client/ui/VWindow.java
index 2355a9c65a..d756eaf8b0 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VWindow.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VWindow.java
@@ -205,6 +205,9 @@ public class VWindow extends VOverlay implements Container,
contentPanel.addKeyDownHandler(this);
contentPanel.addFocusHandler(this);
contentPanel.addBlurHandler(this);
+
+ TouchScrollDelegate.enableTouchScrolling(this, getContainerElement()
+ .getFirstChildElement());
}
public void bringToFront() {