Changing a box size in presentation view


    Jan 20 2011 | 11:10 pm
    This only works in regular view. How do I make this work in presentation view?
    function list(a) { if(isNaN(this.patcher.parentpatcher)==0){return;} var myrect =this.patcher.box.rect; var width = arguments[0]; var height = arguments[1]; myrect[2] = myrect[0]+width; myrect[3] = myrect[1]+height; this.patcher.box.rect = myrect; post("resizing bcanvas to",myrect); post(); }
    Georg

    • Jan 20 2011 | 11:24 pm
      I do this outside js with a presentation_size message or with a presentation_rect message...