lib/atome/helpers/essentials.rb in atome-0.5.5.8.1 vs lib/atome/helpers/essentials.rb in atome-0.5.5.8.5

- old
+ new

@@ -14,11 +14,12 @@ STR @default_params = { # Warning : type must be define first render_engines: [:html], - image: { type: :image }, + image: { type: :image, left: 0, top: 0}, + matrix: { type: :matrix, left: 0, top: 0, option: {}}, # FIXME : look at build_atome FIXME to resolve default parent attachment problem video: { type: :video }, animation: { type: :animation, attach: :black_matter }, element: { type: :element, renderers: [], attach: :black_matter }, box: { type: :shape, width: 99, height: 99, @@ -30,10 +31,10 @@ apply: [:circle_color], left: 100, top: 100, preset: :circle }, shape: { type: :shape, width: 99, height: 99, apply: [:shape_color], left: 100, top: 100 }, - text: { type: :text, component: { size: 18 }, + text: { type: :text, component: { size: 18 },left: 0, top: 0, apply: [:text_color], width: :auto, height: :auto }, drm: { type: :drm, attach: :black_matter }, shadow: { type: :shadow, red: 0, green: 0, blue: 0, alpha: 0 }, color: { type: :color, red: 0, green: 0, blue: 0, alpha: 1}