From 0de4e8148f0cade17fec8f64c8d4cb3b0b5f601b Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Thu, 7 Mar 2024 15:15:38 -0300 Subject: [PATCH] fix: make withoutNavigation method hide navigation circles as expected Close #36 --- .../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 8253b75..bd6e80a 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java +++ b/src/main/java/com/flowingcode/vaadin/addons/carousel/Carousel.java @@ -134,7 +134,7 @@ public Carousel withoutSwipe() { } public Carousel withoutNavigation() { - this.setHideNavigation(false); + this.setHideNavigation(true); return this; }