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.
1.1K
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
- remove | + add

06 Aug 2022
Ads