Changeset 3636 for trunk/builder/scripts


Ignore:
Timestamp:
Apr 25, 2013, 7:04:34 PM (11 years ago)
Author:
mmc
Message:

Fixed the drawing widget to handle notifications from outside widgets, so
that canvas items react to value changes. Also added tooltips for drawing
items.

Nudged the next/back buttons for the pager in a bit, so they're a little
easier to press in the iPad app.

Fixed the Ruby template for the builder to include the overwrite/append flag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/builder/scripts/templates/ruby.tl

    r3177 r3636  
    8686    code "\n# save output value for $path"
    8787    code "# data should be base64-encoded image data"
    88     code "io.put(\"$path.current\", imdata)"
     88    code "io.put(\"$path.current\", imdata, Rappture::OVERWRITE)"
    8989  }
    9090  output * {
    9191    code "\n# save output value for $path"
    92     code "io.put(\"$path.current\",$id)"
     92    code "io.put(\"$path.current\",$id, Rappture::OVERWRITE)"
    9393  }
    9494}
Note: See TracChangeset for help on using the changeset viewer.