mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Merge pull request #6070 from jmacxx/fix_issue_6059
Disable roll over popups in combobox item renderers.
This commit is contained in:
commit
da25c058a1
@ -74,6 +74,12 @@ public class InfoAutoTooltipLabel extends AutoTooltipLabel {
|
||||
setGraphic(textIcon);
|
||||
}
|
||||
|
||||
// May be required until https://bugs.openjdk.java.net/browse/JDK-8265835 is fixed.
|
||||
public void disableRolloverPopup() {
|
||||
textIcon.setOnMouseEntered(null);
|
||||
textIcon.setOnMouseExited(null);
|
||||
}
|
||||
|
||||
private void positionAndActivateIcon(ContentDisplay contentDisplay, String info, double width) {
|
||||
textIcon.setOpacity(0.4);
|
||||
textIcon.getStyleClass().add("tooltip-icon");
|
||||
|
@ -959,6 +959,7 @@ public class GUIUtil {
|
||||
MaterialDesignIcon icon = getIconForSignState(signState);
|
||||
|
||||
label.setIcon(icon, info);
|
||||
label.disableRolloverPopup(); // see https://github.com/bisq-network/bisq/issues/6059
|
||||
}
|
||||
setGraphic(label);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user