VolantisDev / Launchpad

Step up your non-Steam game! Generate Steam-compatible .exe files to effortlessly launch any game through Steam with overlay support.
https://launchpad.games
MIT License
87 stars 3 forks source link

Determine why this value seems to work #215

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 3 years ago

Determine why this value seems to work

https://github.com/VolantisDev/Launchpad/blob/6f379f945221c3126c5e6b2c3328f206d7079c72/Lib/Shared/ThemeLib/GuiSymbol/AddSymbol.ahk#L4


class AddSymbol extends GuiSymbolBase {
    DrawSymbol(graphics, x, y, w, h) {
        offset := this.config["strokeWidth"] > 1 ? (this.config["strokeWidth"] / 4) : 0
        ; TODO: Determine why this value seems to work
        offset := 0.25

        symbolMargin := h/5

9bb7beda0b051314d5c2a8222edfc21eee1c4c05