Rename "font_size" playback option to "size"

This commit is contained in:
Marcin Kulik 2014-01-18 14:19:23 +01:00
parent 57bcab04c9
commit a9913a966d
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ module AsciicastsHelper
renderer_class: options.renderer_class,
auto_play: options.autoplay,
hud: !options.hide_hud,
size: options.font_size,
size: options.size,
}
end

View File

@ -3,7 +3,7 @@ class PlaybackOptions
include Virtus.model
attribute :speed, Float, default: 1.0
attribute :font_size, String, default: 'small'
attribute :size, String, default: 'small'
attribute :autoplay, Boolean, default: false
attribute :max_width, Integer
attribute :hide_hud, Boolean, default: false