diff --git a/lib/slide_helper.rb b/lib/slide_helper.rb index fcc8d645afaae92bf434936a6c8fa5ea7a0f0413..df237a8905dc811c8c8461c76961d5e86965ede6 100644 --- a/lib/slide_helper.rb +++ b/lib/slide_helper.rb @@ -214,6 +214,8 @@ module SlideHelper output += impress_slide_left(args) + "\n" when '!SLIDE_DOWN' output += impress_slide_down(args) + "\n" + when '!SLIDE_UP' + output += impress_slide_up(args) + "\n" when '!SLIDE_MOVE' output += impress_slide_move(args) + "\n" when '!SLIDE_SCALE_LEFT' @@ -306,6 +308,11 @@ module SlideHelper impress_make_slide(args) end + def impress_slide_up(args) + @@pos.y -= impress_vert_mov_unit() + impress_make_slide(args) + end + def impress_slide_move(args) argv = args.split rx, ry = argv[0..1].map {|v| v.to_f}