#UI_ENHANCEMENT by cg
class: ApplicationModel
changed:
#bigFontFor: (send #ceiling instead of #rounded)
#smallFontFor: (send #floor instead of #rounded)
--- a/ApplicationModel.st Tue Oct 11 16:25:36 2016 +0200
+++ b/ApplicationModel.st Tue Oct 11 16:36:21 2016 +0200
@@ -807,7 +807,7 @@
|newSize|
newSize := aFont size * 1.1.
- newSize := newSize rounded asInteger.
+ newSize := newSize ceiling asInteger.
^ aFont asSize:newSize.
!
@@ -822,7 +822,7 @@
|newSize|
newSize := aFont size * 0.9.
- newSize := newSize rounded asInteger.
+ newSize := newSize floor asInteger.
^ aFont asSize:newSize.
! !