Skip to content

Commit

Permalink
Merge branch 'feat/flair-animations' into feat/emote-animations
Browse files Browse the repository at this point in the history
  • Loading branch information
vyneer committed Feb 20, 2024
2 parents 4c83f93 + 49d2d77 commit 814566f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/chat/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1726,6 +1726,11 @@ hr {
}
}

.pref-disableflairanimations a.user,
.pref-disableflairanimations span.user {
animation: none !important;
}

/* OverlayScrollbars theme */
.dgg-scroller-theme.os-scrollbar-horizontal {
right: 10px;
Expand Down
1 change: 1 addition & 0 deletions assets/chat/js/const.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ const settingsdefault = new Map(
fontscale: 'auto',
censorbadwords: false,
disableemoteanimations: false,
disableflairanimations: false,
}),
);

Expand Down
6 changes: 6 additions & 0 deletions assets/views/embed.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@ <h4>Messages</h4>
non-GIF emote animations
</label>
</div>
<div class="form-group checkbox">
<label title="Disable non-GIF flair animations">
<input name="disableflairanimations" type="checkbox" /> Disable
non-GIF flair animations
</label>
</div>

<h4>Notifications</h4>
<div class="form-group checkbox">
Expand Down

0 comments on commit 814566f

Please sign in to comment.