onMouseScroll
#102
Adds a mouse scroll "hotkey" to the game window.
--[[
Script made by Lee (Discord: l33_) - www.trainorcreations.com
If you want to support my work, feel free to donate at https://trainorcreations.com/donate
PS. Stop ripping off my work and selling it as your own.
]]--
local gamePanel = modules.game_interface.gameMapPanel
gamePanel.onMouseWheel = function(widget, mousePos, scroll)
-- 1 = scroll up 2 = scroll down
warn(scroll)
end
06 Aug 2022