diff options
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/main/java/com/vaadin/tests/dnd/DragAndDropCardShuffle.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/dnd/DragAndDropCardShuffle.java b/uitest/src/main/java/com/vaadin/tests/dnd/DragAndDropCardShuffle.java index d842907c45..bf37cf0e82 100644 --- a/uitest/src/main/java/com/vaadin/tests/dnd/DragAndDropCardShuffle.java +++ b/uitest/src/main/java/com/vaadin/tests/dnd/DragAndDropCardShuffle.java @@ -123,13 +123,11 @@ public class DragAndDropCardShuffle extends AbstractTestUIWithLog { // Add listeners dragSource.addDragStartListener(event -> { - event.getComponent().addStyleName("dragged"); log(event.getComponent().getValue() + " dragstart, effectsAllowed=" + event.getEffectAllowed()); }); dragSource.addDragEndListener(event -> { - event.getComponent().removeStyleName("dragged"); log(event.getComponent().getValue() + " dragend, dropEffect=" + event.getDropEffect()); }); @@ -172,7 +170,7 @@ public class DragAndDropCardShuffle extends AbstractTestUIWithLog { + "padding-left: 10px;" + "color: red;" + "font-weight: bolder;" + "font-size: 25px;" + "background-color: gainsboro;" + "}"); styles.add(".v-label-drag-center {border-style: dashed;}"); - styles.add(".dragged {opacity: .4;}"); + styles.add(".v-label-dragged {opacity: .4;}"); } @Override |