mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-155300 Change non-sticky balloons behavior: animation
This commit is contained in:
+1
-1
@@ -835,7 +835,7 @@ public class NotificationsManagerImpl extends NotificationsManager {
|
||||
.setCloseButtonEnabled(buttons == null)
|
||||
.setShowCallout(showCallout)
|
||||
.setShadow(false)
|
||||
.setAnimationCycle(Registry.intValue("ide.new.notification.auto.hide.animation.time", 500))
|
||||
.setAnimationCycle(200)
|
||||
.setHideOnClickOutside(hideOnClickOutside)
|
||||
.setHideOnAction(hideOnClickOutside)
|
||||
.setHideOnKeyOutside(hideOnClickOutside)
|
||||
|
||||
@@ -1690,12 +1690,15 @@ public class BalloonImpl implements Balloon, IdeTooltip.Ui {
|
||||
initComponentImage(pointTarget, shapeBounds);
|
||||
}
|
||||
|
||||
if (myImage != null && myAlpha != -1) {
|
||||
g2d.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, myAlpha));
|
||||
}
|
||||
|
||||
if (myShadowBorderProvider != null) {
|
||||
myShadowBorderProvider.paintShadow(this, g);
|
||||
}
|
||||
|
||||
if (myImage != null && myAlpha != -1) {
|
||||
g2d.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, myAlpha));
|
||||
paintShadow(g);
|
||||
UIUtil.drawImage(g2d, myImage, 0, 0, null);
|
||||
}
|
||||
|
||||
@@ -488,7 +488,6 @@ ide.ui.scale=1.0
|
||||
|
||||
ide.new.notification.enabled=true
|
||||
ide.new.notification.visible.count=2
|
||||
ide.new.notification.auto.hide.animation.time=500
|
||||
|
||||
ide.open.file.in.temp.project.dir=true
|
||||
ide.open.file.in.temp.project.dir.description=Enables opening file in temp project directory
|
||||
|
||||
Reference in New Issue
Block a user