Permalink
Browse files

fix frame to include bottom margin

  • Loading branch information...
1 parent 4d5570c commit 852d510fef4b38f171386a0e7e667904504fdc81 @colinta committed Dec 31, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/typewriter/typewriter_view.rb
  2. +1 −1 lib/typewriter/version.rb
@@ -131,7 +131,7 @@ def layoutIfNeeded
end
clear
- self.frame = [self.frame.origin, [self.frame.size.width, @y]]
+ self.frame = [self.frame.origin, [self.frame.size.width, @y + @bottom_margin]]
if scroll_view
scroll_view.scrollEnabled = (@y > scroll_view.frame.size.height)
scroll_view.contentSize = self.frame.size
@@ -1,3 +1,3 @@
module Typewriter
- Version = '1.0'
+ Version = '1.1'
end

0 comments on commit 852d510

Please sign in to comment.