From 14a820df051d53e9a3254b819c1b63c84c549b14 Mon Sep 17 00:00:00 2001 From: sD Date: Sat, 21 Dec 2019 18:47:12 +0100 Subject: fix offset --- webAO/client.js | 1 + 1 file changed, 1 insertion(+) (limited to 'webAO/client.js') 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"; -- cgit