mlthelama / LamasTinyHUD

A Quick Slot HUD Mod. The goal is a Quick Item Menu like AC Valhalla, Elden Ring and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adjust Position Based on Current Resolution

mlthelama opened this issue · comments

this should help for different resolutions and also for presets

here an example how it could be calculated

config made for: 
r = 1920x1080 (rx, ry)
x = 100
y = 100

detected resolution:
d = 1440 x 1080 (dx, dy)

new_x = x * (dx/rx) 
new_y = y * (dy/ry)