New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Combat Tracker Set Active Icon to be Draggable in 2.8 #8

Merged
merged 1 commit into from Jan 29, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −8
Diff settings

Always

Just for now

Fixed Combat Tracker Set Active Icon to be Draggable in 2.8

  • Loading branch information...
Erik Lorrain
Erik Lorrain committed Jan 29, 2012
commit a401f3a0bb7a07d37b0b928557e5be55dc918d02
@@ -1562,22 +1562,15 @@
setHoverCursor("hand");
end
function onDrag(button, x, y, draginfo)
if dragging then
return true;
end
function onDragStart(button, x, y, draginfo)
draginfo.setType("combattrackeractivation");
draginfo.setIcon(activeicon[1]);
widget.setVisible(false);
dragging = true;
return true;
end
function onDragEnd(draginfo)
widget.setVisible(true);
dragging = false;
end
</script>
</genericcontrol>
ProTip! Use n and p to navigate between commits in a pull request.