From dc51946feed3795fc8f1e6c340bcd9a6149d7725 Mon Sep 17 00:00:00 2001 From: blue Date: Mon, 19 Nov 2018 18:06:01 +0300 Subject: [PATCH] typos --- style.css | 10 +++++----- ui/panel.js | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/style.css b/style.css index 6fdd118..06266f0 100644 --- a/style.css +++ b/style.css @@ -31,11 +31,11 @@ button:hover { overflow: hidden; background-color: white; transform: none; - -webkit-transition: transform 0.2s; - -moz-transition: transform 0.2s; - -ms-transition: transform 0.2s; - -o-transition: transform 0.2s; - transition: transform 0.2s; + -webkit-transition: transform 0.2s ease-out; + -moz-transition: transform 0.2s ease-out; + -ms-transition: transform 0.2s ease-out; + -o-transition: transform 0.2s ease-out; + transition: transform 0.2s ease-out; } .panel.hidden { diff --git a/ui/panel.js b/ui/panel.js index 2dca3b3..f64e812 100644 --- a/ui/panel.js +++ b/ui/panel.js @@ -5,6 +5,7 @@ class Panel extends UI { super(document.createElement("div"), width, height); this._hidden = true; + this.element.classList.add("panel"); this.element.classList.add("shadow"); this.element.classList.add("hidden"); }