Skip to content

Instantly share code, notes, and snippets.

Created June 24, 2017 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f0467b50ba893667f17a30bf297d069e to your computer and use it in GitHub Desktop.
Save anonymous/f0467b50ba893667f17a30bf297d069e to your computer and use it in GitHub Desktop.
@@ -73,16 +73,10 @@ function f:OnEvent(event, ...)
if db.scale then
THF:SetScale(db.scale)
end
- THF:EnableMouse(false)
+ THF:EnableMouse(true)
self:UnregisterEvent(event)
end
- elseif event == "MODIFIER_STATE_CHANGED" then
- local key, state = ...
- if THF:IsShown() and not THF:IsDragging() then
- -- click-through for normal clicks
- THF:EnableMouse(state == 1)
- end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment