git pull <repo>
Hurr durr, I'm a beta tester too
EDIT:
%xpos = mRound((%xpos * 66) / 66);
%ypos = mRound((%ypos * 66) / 66);
Correct me if I'm wrong, but (x * 66) / 66 = x
Brian, you fail at math.
First check what you just tried to copy :p
%x = mRound(%x / 66) * 66;
%y = mRound(%y / 66) * 66;
This is the code
I made to snap the icons to a grid (66x66), mRound is defined elsewhere in BOS7.
Still think it's stupid? let me explain...
To get the icons to snap to a 66 grid, we have to round the position divided by 66 (otherwise it would snap to the nearest pixel - kinda pointless), we then have to multiply by 66 to get the proper grid position, otherwise everything would be crammed into a corner.
Next time, try reading the whole code first.
EDIT:
Note that the code is on a public repo for a reason, you can try it if you want, however it will probably break things (it's missing most of the functionality of the main menu)