lib/psd/node_layer.rb in psd-1.4.4 vs lib/psd/node_layer.rb in psd-1.4.5
- old
+ new
@@ -57,10 +57,10 @@
super.merge({
type: :layer,
text: @layer.text,
ref_x: @layer.reference_point.x,
ref_y: @layer.reference_point.y,
- mask: @layer.mask.snapshot,
+ mask: @layer.mask.to_hash,
image: {
width: @layer.image.width,
height: @layer.image.height,
channels: @layer.channels_info
}
\ No newline at end of file