From a680affb025bf469975e429b40d3e660b159f2d2 Mon Sep 17 00:00:00 2001 From: sD Date: Thu, 9 Jul 2020 21:03:45 +0200 Subject: use only off sprite --- webAO/client.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'webAO') diff --git a/webAO/client.js b/webAO/client.js index 8377551..5892d3a 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -1261,11 +1261,10 @@ class Client extends EventEmitter { frame_screenshake: "", frame_realization: "", frame_sfx: "", - button_off: AO_HOST + `characters/${encodeURI(me.name.toLowerCase())}/emotions/button${i}_off.png`, - button_on: AO_HOST + `characters/${encodeURI(me.name.toLowerCase())}/emotions/button${i}_on.png` + button: AO_HOST + `characters/${encodeURI(me.name.toLowerCase())}/emotions/button${i}_off.png` }; emotesList.innerHTML += - `${emotes[i].desc} Date: Thu, 9 Jul 2020 21:04:05 +0200 Subject: make it slightly transparent to darken it --- webAO/styles/client.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'webAO') diff --git a/webAO/styles/client.css b/webAO/styles/client.css index f49b395..043c6c6 100644 --- a/webAO/styles/client.css +++ b/webAO/styles/client.css @@ -345,6 +345,10 @@ overflow-y: hidden; } +.client_button.dark { + opacity: 0.5; +} + #client_emo { position: relative; top: 10px; -- cgit From d42e757d5ef04a39b0a1d377f99755d5a85d4550 Mon Sep 17 00:00:00 2001 From: sD Date: Thu, 9 Jul 2020 21:07:03 +0200 Subject: yeah it's the emote not a normal button --- webAO/styles/client.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webAO') diff --git a/webAO/styles/client.css b/webAO/styles/client.css index 043c6c6..cecba80 100644 --- a/webAO/styles/client.css +++ b/webAO/styles/client.css @@ -345,7 +345,7 @@ overflow-y: hidden; } -.client_button.dark { +.emote_button.dark { opacity: 0.5; } -- cgit