fix: clicking gamelistitem should navigate to versionpage.
This commit is contained in:
@@ -116,7 +116,7 @@ public class GameListItemSkin extends SkinBase<GameListItem> {
|
|||||||
getChildren().setAll(container);
|
getChildren().setAll(container);
|
||||||
|
|
||||||
root.setCursor(Cursor.HAND);
|
root.setCursor(Cursor.HAND);
|
||||||
root.setOnMouseClicked(e -> {
|
container.setOnMouseClicked(e -> {
|
||||||
if (e.getButton() == MouseButton.PRIMARY) {
|
if (e.getButton() == MouseButton.PRIMARY) {
|
||||||
if (e.getClickCount() == 1) {
|
if (e.getClickCount() == 1) {
|
||||||
skinnable.modifyGameSettings();
|
skinnable.modifyGameSettings();
|
||||||
|
|||||||
Reference in New Issue
Block a user