lib/molecules/intuition/utilities.rb in atome-0.5.7.4.7 vs lib/molecules/intuition/utilities.rb in atome-0.5.7.4.8
- old
+ new
@@ -182,11 +182,11 @@
{ renderers: [:html], type: :text, component: component,
data: default_text, left: params[:height] * 20 / 100, top: 0, edit: true, attach: input_back.id, height: params[:height],
position: :absolute
}.merge(text_params)
)
- text_input.touch(:down) do
+ input_back.touch(:down) do
input_back.tick(:input)
text_input.edit(true)
end
input_back.touch(:up) do
@@ -662,10 +662,10 @@
main_page.right(item_found.width)
grab("#{id_f}_footer").left(basic_size) if footer
grab("#{id_f}_header").left(basic_size) if header
end
end
- main_page
+ new_page
end
new(molecule: :buttons) do |params, &bloc|
\ No newline at end of file