lib/atome/genesis/generators/effect.rb in atome-0.5.6.1.4 vs lib/atome/genesis/generators/effect.rb in atome-0.5.6.1.9
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
-new({ particle: :smooth })
+new({ particle: :smooth, category: :effect, type: :int })
-new({ particle: :blur }) do |params|
+new({ particle: :blur, category: :effect, type: :int }) do |params|
# alert params
{ value: params, affect: :self } unless params.instance_of?(Hash)
# params
end
\ No newline at end of file