diff options
-rwxr-xr-x | ramaskrik-program.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ramaskrik-program.rb b/ramaskrik-program.rb index 87ba2ba..8bda384 100755 --- a/ramaskrik-program.rb +++ b/ramaskrik-program.rb @@ -33,8 +33,8 @@ class EventDecorator < SimpleDelegator attr_reader :height def calc_offsets(time_offset) - @offset = (start_time - time_offset).to_i / 50 - @height = duration / 50; + @offset = 5 + (start_time - time_offset).to_i / 50 + @height = 5 + duration / 50; start_time + duration end end |