mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Disable roll over popups in combobox item renderers.
Due to JFX bug https://bugs.openjdk.java.net/browse/JDK-8265835
This commit is contained in:
parent
b739b4c347
commit
a9630feb19
@ -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