From d97af36ae1930cd5181989defed36e8192f7ffac Mon Sep 17 00:00:00 2001 From: delvh Date: Wed, 2 Sep 2020 10:17:50 +0200 Subject: [PATCH] shrank delay of "offline"-Tooltip in ChatScene --- client/src/main/java/envoy/client/ui/controller/ChatScene.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/main/java/envoy/client/ui/controller/ChatScene.java b/client/src/main/java/envoy/client/ui/controller/ChatScene.java index ee80295..eae592a 100644 --- a/client/src/main/java/envoy/client/ui/controller/ChatScene.java +++ b/client/src/main/java/envoy/client/ui/controller/ChatScene.java @@ -184,7 +184,8 @@ public final class ChatScene implements Restorable { attachmentView.setImage(DEFAULT_ATTACHMENT_VIEW_IMAGE); messageSearchButton.setGraphic(new ImageView(IconUtil.loadIconThemeSensitive("search", DEFAULT_ICON_SIZE))); clientProfilePic.setImage(IconUtil.loadIconThemeSensitive("user_icon", 43)); - final Rectangle clip = new Rectangle(); + onlyIfOnlineTooltip.setShowDelay(Duration.millis(250)); + final var clip = new Rectangle(); clip.setWidth(43); clip.setHeight(43); clip.setArcHeight(43);