sugarcube 0.18.3 → 0.18.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -290,9 +290,13 @@ class Symbol
290
290
  left: UIViewContentModeLeft,
291
291
  right: UIViewContentModeRight,
292
292
  topleft: UIViewContentModeTopLeft,
293
+ top_left: UIViewContentModeTopLeft,
293
294
  topright: UIViewContentModeTopRight,
295
+ top_right: UIViewContentModeTopRight,
294
296
  bottomleft: UIViewContentModeBottomLeft,
297
+ bottom_left: UIViewContentModeBottomLeft,
295
298
  bottomright: UIViewContentModeBottomRight,
299
+ bottom_right: UIViewContentModeBottomRight,
296
300
  }
297
301
 
298
302
  @tableview_styles = {
@@ -682,7 +686,9 @@ class Symbol
682
686
  return font.uifont(size)
683
687
  end
684
688
  else
685
- size = size.uifontsize
689
+ if size.is_a?(Symbol)
690
+ size = size.uifontsize
691
+ end
686
692
  return UIFont.systemFontOfSize(size)
687
693
  end
688
694
  end
@@ -1,3 +1,3 @@
1
1
  module SugarCube
2
- Version = '0.18.3'
2
+ Version = '0.18.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sugarcube
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.3
4
+ version: 0.18.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: