Somehow the panel category drawing functions ended up in the middle of the region event handling code. This commit moves them to their own section next to the rest of the drawing code.
Somehow the panel category drawing functions ended up in the middle of the region event handling code. This commit moves them to their own section next to the rest of the drawing code.