OSDN Git Service

t#:
[pettanr/pettanr.git] / lib / manifest / manifest.rb
index 8ba98cf..bf0c08d 100644 (file)
@@ -153,6 +153,17 @@ module Pettanr
     
     def init
       select_items_loader
+      select_items_font_size
+    end
+    
+    #oh my ...
+    #JSON.stringify couldn't print 1.0 
+    # 1 == 1.0 ?
+    #change class
+    def select_items_font_size
+      (@select_items['magic_number']['speech_font_size_items']).each {|conf|
+        conf[1] = conf[1].to_f 
+      }
     end
     
     def select_items_loader