File tree Expand file tree Collapse file tree
launcher/src/main/java/net/modtale/launcher/ui/library Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,7 +185,9 @@ private Node versionSection(LibraryDetailModel model) {
185185 }
186186 });
187187
188- Button switchButton = primaryButton ("Switch" );
188+ Button switchButton = primaryButton ("" );
189+ switchButton .setAccessibleText ("Switch version" );
190+ switchButton .setTooltip (new Tooltip ("Switch version" ));
189191 switchButton .setGraphic (LauncherIcons .icon (LauncherIcons .Glyph .DOWNLOAD , 14 ));
190192 switchButton .setOnAction (event -> {
191193 LibraryVersionChoice choice = versions .getValue ();
Original file line number Diff line number Diff line change @@ -370,7 +370,9 @@ private Node versionControls(LibraryWorldProjectModel model) {
370370 .findFirst ()
371371 .ifPresentOrElse (versions ::setValue , () -> versions .setValue (choices .getFirst ()));
372372
373- Button switchButton = primaryButton ("Switch" );
373+ Button switchButton = primaryButton ("" );
374+ switchButton .setAccessibleText ("Switch version" );
375+ switchButton .setTooltip (new Tooltip ("Switch version" ));
374376 switchButton .setGraphic (LauncherIcons .icon (LauncherIcons .Glyph .DOWNLOAD , 13 ));
375377 switchButton .setOnAction (event -> {
376378 LibraryVersionChoice choice = versions .getValue ();
You can’t perform that action at this time.
0 commit comments