Hi there!
Aah, a thread for everyone who - like me - still works with old, outdated engines (A6.6 here, ladies and gentlemen!).
I sometimes stumble upon issues who may or may not be engine bugs. If I manage to find a workaround, I'll post it here, so others don't have to break their heads over it

[A6&friends aren't updated anymore, right? In other words, this makes sense here instead of Bugs, right?]
I do hope that eventually, others will find this and possibly join me in my cause by adding their own workarounds.
Or maybe this will die a quiet, quick death by this being the only post in this thread ever.Rotation of scaled panelsRotation occurs around a wrong point when using panel.angle on a scaled panel.
Maybe I'm misunderstanding something here, but it seems to me that the point the panels are rotated around isn't panel.pos+panel.center*panel.scale (which would make sense), but rather (panel.pos+panel.center)*panel.scale.
This is "easily" corrected by adapting the center-value to use, though it might be annoying. Whatever.
These two lines of code fixed that issue for me:
panel.center_x = ACTUAL_CENTER_X + panel.pos_x/panel.scale_x - panel.pos_x;
panel.center_y = ACTUAL_CENTER_Y + panel.pos_y/panel.scale_y - panel.pos_y;