Sha256: 46708108196e1523e2fe57d2db114ddd94539c8792cf1b8ef56d488dff41f93b

Contents?: true

Size: 294 Bytes

Versions: 40

Compression:

Stored size: 294 Bytes

Contents

match(Slide) do |slides|
  options = {
    :proc_name => "per-slide-background-image",
    :compute_initial_geometry => Proc.new do |canvas, x, y, w, h|
      [0, 0, canvas.width, canvas.height]
    end
  }
  slides.each do |slide|
    apply_background_image_property(slide, options)
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
rabbit-2.0.5 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-2.0.4 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-2.0.3 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-2.0.2 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-2.0.1 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-2.0.0 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-1.0.9 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-1.0.8 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-1.0.7 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-1.0.6 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-1.0.5 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-1.0.4 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-1.0.3 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-1.0.2 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-1.0.1 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-1.0.0 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-0.9.3 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-0.9.2 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-0.9.1 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb
rabbit-0.9.0 lib/rabbit/theme/per-slide-background-image/per-slide-background-image.rb