lib/atome/helpers/essentials.rb in atome-0.5.5.9.1 vs lib/atome/helpers/essentials.rb in atome-0.5.6.0.2
- old
+ new
@@ -20,21 +20,21 @@
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,
+ box: { type: :shape, width: 39, height: 39,
apply: [:box_color],
- left: 100, top: 100, preset: :box },
- vector: { type: :vector, width: 99, height: 99,
- left: 100, top: 100, preset: :vector, definition: corp },
- circle: { type: :shape, width: 99, height: 99, smooth: '100%',
+ left: 0, top: 0, preset: :box },
+ vector: { type: :vector, width: 39, height: 39,
+ left: 0, top: 0, preset: :vector, definition: corp },
+ circle: { type: :shape, width: 39, height: 39, smooth: '100%',
apply: [:circle_color],
- left: 100, top: 100, preset: :circle },
- shape: { type: :shape, width: 99, height: 99,
+ left: 0, top: 0, preset: :circle },
+ shape: { type: :shape, width: 39, height: 39,
apply: [:shape_color],
- left: 100, top: 100 },
- text: { type: :text, component: { size: 18 },left: 0, top: 0,
+ left: 0, top: 0 },
+ text: { type: :text, component: { size: 12 },left: 0, top: 0,
apply: [:text_color],
width: :auto, height: :auto, language: :english },
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}