1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Don't display disabled widgets

This commit is contained in:
Chris Cummer
2018-04-07 14:36:13 -07:00
committed by Chris Cummer
parent ae13d52665
commit 79bc8216d6
13 changed files with 61 additions and 22 deletions

View File

@@ -30,7 +30,7 @@ func NewWidget() *Widget {
/* -------------------- Exported Functions -------------------- */
func (widget *Widget) Refresh() {
if widget.Enabled == false {
if widget.Disabled() {
return
}