Skip to content


Resize Grid, Improved Select, Delete Selection/Clear All

You can now resize the grid through the same GUI as the line width: A simple slider. Now when you select a shape, the draw-panel adjusts itself accordingly to the colors and other values. When you leave select mode, it automatically unselects the space. Special tools like Delete Selection and Clear All now work.

Posted in Ajax Animator.

Tagged with , , , , , , , , , .


2 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. josep_ssv says

    It is not necessary to have chosen to erase all

    In richdraw.js

    RichDrawEditor.prototype.deleteAll = function() {
    if (this.selected) {
    this.renderer.removeAll();
    }
    };

    change to

    RichDrawEditor.prototype.deleteAll = function() {
    this.renderer.removeAll();
    };

  2. admin says

    Yes, i know. But i just went directly to Ax.canvas.renderer.removeAll() without first calling Ax.render.deleteAll(). Same effect.



Some HTML is OK

or, reply to this post via trackback.