From 83268257b2c934afb8ac00b081d93e15d00866d4 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Mon, 29 Nov 2021 16:05:31 +0300 Subject: [PATCH] Smoother hover animation Signed-off-by: Alex Andreev --- src/renderer/components/hotbar/hotbar-icon.module.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/hotbar/hotbar-icon.module.css b/src/renderer/components/hotbar/hotbar-icon.module.css index 44346c7058..952d871ffc 100644 --- a/src/renderer/components/hotbar/hotbar-icon.module.css +++ b/src/renderer/components/hotbar/hotbar-icon.module.css @@ -25,9 +25,9 @@ display: flex; cursor: pointer; - transition: none; position: relative; border-radius: var(--border-radius); + transition: box-shadow 0.1s ease-in-out; &:not(.active):hover { box-shadow: var(--iconHoverShadow);