mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-24 13:03:55 +00:00
Added method to correctly set the focus for the fullscreen gallery
slider
This commit is contained in:
1 parent
6cbebfe813
commit
2febb43691
1 file changed
+4
+4
@@ -35,6 +35,10 @@ public class SailingGalleryPlayer extends ResizeComposite {
|
||||
subSliderUi.appendChild(createThumbImgElement(i));
|
||||
}
|
||||
}
|
||||
|
||||
public void setFocusToSubSlider() {
|
||||
subSliderUi.getFirstChildElement().focus();
|
||||
}
|
||||
|
||||
private ImageElement createThumbImgElement(SailingImageDTO i ) {
|
||||
ImageElement img = Document.get().createImageElement();
|
||||
|
||||
Reference in new issue
Block a user