Fixed NavPath

This commit is contained in:
Andrey Terentev 2023-11-20 09:35:42 +07:00
parent ca84959c83
commit e515d7688d

View File

@ -28,6 +28,10 @@ public class NavPath extends HorizontalLayout{
for (int i = 0, n = points.length; i < n; i++) { for (int i = 0, n = points.length; i < n; i++) {
var button = createPointButton(points[i]); var button = createPointButton(points[i]);
if (i + 1 == n) {
button.setEnabled(false);
}
add(button); add(button);
if (i + 1 != n) { if (i + 1 != n) {