From 589d8e5c97a83e1dc43713a20a115231cee99a69 Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Wed, 21 Jul 2021 12:14:48 -0300 Subject: [PATCH] fix: fix super call in SlideChangeEvent constructor Close #17 --- .../java/com/flowingcode/vaadin/addons/carousel/Carousel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java b/src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java index b174d29..cab3be9 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java +++ b/src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java @@ -186,7 +186,7 @@ public static class SlideChangeEvent extends ComponentEvent { public SlideChangeEvent( Carousel source, boolean fromClient, @EventData("event.detail.value") String position) { - super(source, true); + super(source, fromClient); this.position = position; }