[Groonga-commit] groonga/rabbit-theme-groonga at 1894525 [master] Remove workaround for old Rabbit

Back to archive index

Kouhei Sutou null+****@clear*****
Sun May 24 15:55:17 JST 2015


Kouhei Sutou	2015-05-24 15:55:17 +0900 (Sun, 24 May 2015)

  New Revision: 1894525f8c1e7a3845b8f8db20f10fc456555882
  https://github.com/groonga/rabbit-theme-groonga/commit/1894525f8c1e7a3845b8f8db20f10fc456555882

  Message:
    Remove workaround for old Rabbit

  Modified files:
    theme.rb

  Modified: theme.rb (+1 -7)
===================================================================
--- theme.rb    2015-05-24 15:53:34 +0900 (294b064)
+++ theme.rb    2015-05-24 15:55:17 +0900 (eee4f3b)
@@ -101,13 +101,7 @@ include_theme("icon")
 @slide_logo_position = Proc.new do |slide, canvas, loader|
   x = slide.margin_left
   if slide.is_a?(TitleSlide)
-    # TODO: Remove this check after Rabbit 2.1.3 is released.
-    if loader.nil?
-      logo_height = @slide_logo_height.call(slide, canvas)
-    else
-      logo_height = loader.height
-    end
-    y = canvas.height - logo_height - slide.margin_bottom
+    y = canvas.height - loader.height - slide.margin_bottom
   else
     y = slide.margin_top
   end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index