lib/whirled_peas/graphics/debugger.rb in whirled_peas-0.11.0 vs lib/whirled_peas/graphics/debugger.rb in whirled_peas-0.11.1
- old
+ new
@@ -13,9 +13,10 @@
def debug(indent='')
info = [
"#{indent}* #{painter.class}(#{painter.name})",
]
info << "#{indent + ' '}- Dimensions(#{dimensions})"
+ info << "#{indent + ' '}- Theme=#{painter.settings.theme.inspect}" if indent == ''
info << "#{indent + ' '}- Settings"
info << Settings::Debugger.new(painter.settings).debug(indent + ' ')
if painter.is_a?(TextPainter)
content = painter.content
info << "#{indent + ' '}- Content(value=#{content})"