summaryrefslogtreecommitdiff
path: root/scripts/tablet
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-11-20 23:33:59 +0000
committerdavidovski <david@davidovski.xyz>2023-11-20 23:33:59 +0000
commit2c23da611288c6415a363c07847c82481763908e (patch)
tree29cb278b64b9cea522a5db47ec15303a26f0dc45 /scripts/tablet
parent4c2194a7c5758637259d109df248c24a2fac62e6 (diff)
Switch to compfy
Diffstat (limited to 'scripts/tablet')
-rwxr-xr-xscripts/tablet4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/tablet b/scripts/tablet
index 0cd6144..31c4871 100755
--- a/scripts/tablet
+++ b/scripts/tablet
@@ -69,11 +69,11 @@ for screen in screens:
#Size of the tablet
#Prioritize the width when scaling between aspect ratios
-tw = target[2]
+tw = target[2]
th = tw / tablet_ratio
if "-r" in sys.argv or "-l" in sys.argv:
- th = target[2]
+ th = target[2]
tw = th / tablet_ratio
#make a variable that will try to make the scale the same over diferent resoultions