aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2021-12-22 23:24:35 +0100
committerstonedDiscord <Tukz@gmx.de>2021-12-22 23:24:35 +0100
commit545629dc0c4f969fedc16c8788ccf5faa69697b1 (patch)
tree85a0d42f978458aeea269b66c44e7caf790180ed /webAO/client.js
parent045a3bc4fd7464a815a016ad612cf31684033643 (diff)
set preanim checkbox if the current animation has one
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/webAO/client.js b/webAO/client.js
index c907938..57b4f24 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -2995,6 +2995,8 @@ export function pickEmotion(emo) {
document.getElementById("sendsfx").checked = (client.emote.sfx.length > 1) ? true : false;
+ document.getElementById("sendpreanim").checked = (client.emote.zoom == 1) ? true : false;
+
}
window.pickEmotion = pickEmotion;