diff options
| author | sD <stoned@derpymail.org> | 2019-12-21 18:47:12 +0100 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2019-12-21 18:47:12 +0100 |
| commit | 14a820df051d53e9a3254b819c1b63c84c549b14 (patch) | |
| tree | 71cf16d7ea0befbde85b8041f32aa227d7271e7d /webAO/client.js | |
| parent | e5ba4be22c3e77d120c8aaf17d19e6b439ea180b (diff) | |
fix offset
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webAO/client.js b/webAO/client.js index 512dc22..cccf2c8 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -1309,6 +1309,7 @@ class Viewport { const pairName = this.chatmsg.other_name.toLowerCase(); const pairEmote = this.chatmsg.other_emote.toLowerCase(); pairSprite.style.display = ""; + pairSprite.style.left = this.chatmsg.other_offset+"%"; pairSprite.src = `${AO_HOST}characters/${pairName}/(a)${pairEmote}.gif`; } else { pairSprite.style.display = "none"; |
