mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/posts: add transparency grid
Can be turned off in browsing settings.
This commit is contained in:
@ -86,6 +86,9 @@ class PostContentControl {
|
||||
const postContentNode = this._template({
|
||||
post: this._post,
|
||||
});
|
||||
if (settings.getSettings().transparencyGrid) {
|
||||
postContentNode.classList.add('transparency-grid');
|
||||
}
|
||||
this._containerNode.appendChild(postContentNode);
|
||||
optimizedResize.add(() => this._refreshSize());
|
||||
views.monitorNodeRemoval(
|
||||
|
Reference in New Issue
Block a user