Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
81
onMouseScroll #102
Adds a mouse scroll "hotkey" to the game window.
176b | 5 lines.
local gamePanel = modules.game_interface.gameMapPanel
gamePanel.onMouseWheel = function(widget, mousePos, scroll)
    -- 1 = scroll up  2 = scroll down
    warn(scroll)
end

06 Aug 2022