MenuPanel: use menu panels' default font if item does not specify one explicitly.
--- a/MenuPanel.st Mon Jul 30 17:21:54 2018 +0100
+++ b/MenuPanel.st Fri Aug 31 08:42:44 2018 +0100
@@ -6522,10 +6522,14 @@
font := menuItem font.
font notNil ifTrue:[
- font := font onDevice:(menuPanel device).
- menuItem font:font.
+ font := font onDevice:(menuPanel device).
+ menuItem font:font.
+ ] ifFalse:[
+ font := menuPanel font.
].
^ font
+
+ "Modified: / 31-08-2018 / 08:26:36 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
font:aFont