local D=function(D,N,X)if IsShiftLockMode then onShiftLockToggled()end end local function N()if ShiftLockIcon then ShiftLockIcon.Visible=false end IsShiftLockMode=false Mouse.Icon=""if InputCn then InputCn:disconnect()InputCn=nil end IsActionBound=false ShiftLockController.OnShiftLockToggled:Fire()end
--[[ Input/Settings Changed Events ]]
--
local mouseLockSwitchFunc = function(actionName, inputState, inputObject)
	if IsShiftLockMode then
		onShiftLockToggled()
	end
end

local function disableShiftLock()
	if ShiftLockIcon then
		ShiftLockIcon.Visible = false
	end
	IsShiftLockMode = false
	Mouse.Icon = ""
	if InputCn then
		InputCn:disconnect()
		InputCn = nil
	end
	IsActionBound = false
	ShiftLockController.OnShiftLockToggled:Fire()
end
