summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2014-07-21 22:59:54 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2014-07-21 22:59:54 +0100
commiteb3dd6adb3548674faae26ba535f5b56adbfb30e (patch)
treeab5c3ce52476cfa7cb3fe6c523f26b5b61cf4898
parentbf1aa3d4983f01c0943aa188963a1dc0aa801fbc (diff)
downloadfpGUI-eb3dd6adb3548674faae26ba535f5b56adbfb30e.tar.xz
toggle: fixes minor bug where selected font isn't used.
-rw-r--r--src/gui/fpg_toggle.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fpg_toggle.pas b/src/gui/fpg_toggle.pas
index 07711e3c..b35ca661 100644
--- a/src/gui/fpg_toggle.pas
+++ b/src/gui/fpg_toggle.pas
@@ -166,7 +166,7 @@ begin
Canvas.Clear(BackgroundColor);
// Text
-
+ Canvas.SetFont(Font);
if Enabled then
TextEnabled := []
else