fixed aspect ratio for tiled workspaces

This commit is contained in:
17ms 2023-03-21 00:08:20 +02:00
parent 0f72f7cce3
commit 71519fca49

View File

@ -6,7 +6,7 @@
// @namespace Violentmonkey Scripts
// @match *://boards.4chan*.org/*/thread/*
// @exclude *://boards.4chan*.org/*/catalog
// @version 1.3
// @version 1.3.1
// ==/UserScript==
// Shortcuts: decrease size, increase size, previous image, next image, jump to the source hash (i.e. post)
@ -213,7 +213,7 @@ window.toggleGalleryVisibility = () => {
}
}
const ratioMultiplier = window.screen.availHeight / window.screen.availWidth
const ratioMultiplier = window.innerHeight / window.innerWidth
createElements()
let i = 0