Rename "font_size" playback option to "size"
This commit is contained in:
parent
57bcab04c9
commit
a9913a966d
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user