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

Change Click handler to ItemSelect once I figure out why that isn't working #252

Closed github-actions[bot] closed 3 years ago

github-actions[bot] commented 3 years ago

Change Click handler to ItemSelect once I figure out why that isn't working

https://github.com/VolantisDev/Launchpad/blob/a6bfeed9c6eaeee250693b45f8c8980b7f8c8762/Lib/Launchpad/Window/ManageWindow/ManageWindowBase.ahk#L101


    InitListView(lv) {
        lv.ctl.OnEvent("ContextMenu", "ShowListViewContextMenu")
        lv.ctl.OnEvent("DoubleClick", "OnDoubleClick")
        lv.ctl.OnEvent("Click", "OnClick")
        ; TODO: Change Click handler to ItemSelect once I figure out why that isn't working
    }

    OnClick(LV, rowNum) {
        key := LV.GetText(rowNum, 2)

        if (this.showDetailsPane) {
            this.UpdateDetailsPane(key)
        }
    }

    OnDoubleClick(LV, rowNum) {

924c2aed6564a2df23ff0dd4d7bf50a2445e1715

github-actions[bot] commented 3 years ago

Closed in b839d6001fe9db7038a427f3c1ed06d03507f8ac