lib/molecules/intuition/utilities.rb in atome-0.5.7.3.1 vs lib/molecules/intuition/utilities.rb in atome-0.5.7.3.2
- old
+ new
@@ -425,14 +425,16 @@
matrix_back.cells(current_matrix)
params = params.merge({ matrix: current_matrix })
matrix_back.data(params)
matrix_back
end
+
new(molecule: :page) do |params, &bloc|
b = box({ color: :red, left: 99, drag: true })
b.remove(:box_color)
b.text(params)
end
+
new(molecule: :application) do |params, &bloc|
main_page = box({ drag: true, width: :auto, height: :auto, top: 0, bottom: 0, left: 0, right: 0 })
main_page.remove(:box_color)
main_page
\ No newline at end of file