diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/fpg_button.pas | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/fpg_button.pas b/src/gui/fpg_button.pas index 19b31049..032fcf47 100644 --- a/src/gui/fpg_button.pas +++ b/src/gui/fpg_button.pas @@ -532,6 +532,12 @@ begin Include(lBtnFlags, btfHover) else if FFlat then Include(lBtnFlags, btfFlat); + end + else + begin + { while in the designer we want hover effect all the time } + if FFlat then + Include(lBtnFlags, btfHover); end; if not FFlat and FDefault then |