// FIXME: this is an in-elegant hack, but it gets the user out
// of custom brush mode
// (reset the brush if necessary)
if (currentBrush instanceof CustomBrush) {
ShapeBrush sb = new ShapeBrush();
sb.makeQuadBrush(new Rectangle(0, 0, 1, 1));
sb.setTile(currentTile);
setBrush(sb);
}
}