Code

patch 1635163: directional repaint for better interactivity