Port global text hints to the new conf

This commit is contained in:
Andy Meneely
2015-04-28 21:01:49 -04:00
parent 923f346575
commit 1dc89ae76a
3 changed files with 23 additions and 1 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ module Squib
# @return [nil] Returns nothing
# @api public
def hint(text: :off)
@text_hint = text
conf.text_hint = text
end
# Sets various defaults for this deck. Defaults can be overriden by the commands themselves when that command supports it.
+4
View File
@@ -72,6 +72,10 @@ module Squib
@config_hash['text_hint']
end
def text_hint=(hint)
@config_hash['text_hint'] = hint
end
def progress_bars
@config_hash['progress_bars']
end