Simba Code:
if (B.y2-B.y1 < 37) then//if the Box is too short, somethigns off
T := Point(Ba.x1-17, Ba.y1-25+YMod)
else
T := Point(B.x2-17, B.y2-30+YMod);
if DebugMode then
begin
SMART_DrawDotsEx(True, ATPA[0], clBlue);
TPA := TPAFromBox(IntToBox(T.x, T.y, T.x+5, T.y+5 ));
SMART_DrawDotsEx(false, TPA, clRed);
end;
If PointInBox(T, MMBox) then
begin
Mouse(T.x, T.y, 5, 5, true);
Simba Code:
if (B.y2-B.y1 < 37) then//if the Box is too short, somethigns off
T := Point(Ba.x1-17, Ba.y1-25+YMod);
//else
// T := Point(B.x2-17, B.y2-30+YMod);
Simba Code:
if (B.y2-B.y1 < 37) then//if the Box is too short, somethigns off
T := Point(Ba.x1-17, Ba.y1-25+YMod)
else
T := Point(B.x2-17, B.y2-30+YMod);//<<< just make the y B.y2-25 instead of 30 because its always off