View Single Post
10-17-17, 06:16 PM   #20
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
Originally Posted by Resike View Post
1. It's two different table.
2. Adding math.round to the global table is not much of a risk since it should be present there. It's a good question why the hell it's not present by default?
3. I didn't use any SetHeight.
4. Yes, but if i want to access those values it better to keep this way. I personally don't use SetBackdrop at all, i use custom borders but that would be too much garbage code here.
5. Copy paste.
6. I need to get the scale every time the frames size is changed since it's get generated from the (current size / base size) formula.
  1. I'll have to study your code to see why. That's for later.
  2. Maybe math.round should be, but it isn't and there are way too many ways to accomplish rounding. If I use a global version that is different than yours, there could be conflicts.
  3. Oops, I misread some lines, sorry!
  4. Ah, okay.
  5. Ditto okay.
  Reply With Quote