Posted by Tirin on Mon, 23 Aug 2010 08:18:30
In the code blocks explaining how to use frame templates, the "Button2" button is written as anchoring to itself. I believe it should anchor to "Button1".
As written on p. 172:
<Button name="Button2" inherits="MyButtonTemplate"> <Anchors> <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Button2" /> </Anchors> </Button>
The same error is present on p. 171.
As written on p. 191 in Table 11-3.
mana = UnitPower(unit[,powerType)
The function is missing the closing bracket ].
Posted by Tirin on Tue, 24 Aug 2010 09:03:07
On p. 417, use of up, down, right and left in describing scrolling is inconsistent.
/run ScrollFrameTest:SetHorizontalScroll(-50) /run ScrollFrameTest:SetVerticalScroll(50) Note that the horizontal scroll requires a negative value to scroll the child to the right, whereas vertical scroll takes a positive number to scroll the child up.
To be consistent with the caption for Figure 22-4 and the movement described, it should read, "the horizontal scroll requires a negative value to scroll the child to the left".
The writing could also use some clarification. When the child is scrolling to the left within the scroll frame, the slider in the scroll bar is being moved to the right. This could be confusing.
Posted by jnwhiteh on Tue, 24 Aug 2010 20:02:36
Thanks, these have both been added to the errata listings for those chapters.