From 6665233c0041229bc22a891812e00c10694903bd Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 22 Mar 2017 01:00:13 +0900 Subject: [Client] :art: --- src/web/app/common/tags/reaction-picker.tag | 10 +++++++++- src/web/app/common/tags/stream-indicator.tag | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/web/app/common/tags/reaction-picker.tag b/src/web/app/common/tags/reaction-picker.tag index 9bd7f96c7a..ac0d392c88 100644 --- a/src/web/app/common/tags/reaction-picker.tag +++ b/src/web/app/common/tags/reaction-picker.tag @@ -26,6 +26,7 @@ width 100% height 100% background rgba(0, 0, 0, 0.1) + opacity 0 > .popover position absolute @@ -130,9 +131,16 @@ this.refs.popover.style.top = y + 'px'; } + anime({ + targets: this.refs.backdrop, + opacity: 1, + duration: 100, + easing: 'linear' + }); + anime({ targets: this.refs.popover, - opacity: [0, 1], + opacity: 1, scale: [0.5, 1], duration: 500 }); diff --git a/src/web/app/common/tags/stream-indicator.tag b/src/web/app/common/tags/stream-indicator.tag index 96d9b0ec95..d9f030e19b 100644 --- a/src/web/app/common/tags/stream-indicator.tag +++ b/src/web/app/common/tags/stream-indicator.tag @@ -64,7 +64,7 @@ targets: this.root, opacity: 1, easing: 'linear', - duration: 50 + duration: 100 }); }); -- cgit v1.2.3-freya