Skip to content

Commit 6c368f5

Browse files
paodbjavier-godoy
authored andcommitted
fix: fix fromClient not used in SlideChangeEvent constructor
Close #17
1 parent 197af24 commit 6c368f5

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/flowingcode/vaadin/addons/carousel

1 file changed

+1
-1
lines changed

src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public static class SlideChangeEvent extends ComponentEvent<Carousel> {
186186

187187
public SlideChangeEvent(
188188
Carousel source, boolean fromClient, @EventData("event.detail.value") String position) {
189-
super(source, true);
189+
super(source, fromClient);
190190
this.position = position;
191191
}
192192

0 commit comments

Comments
 (0)