diff options
| author | ruki <[email protected]> | 2018-01-16 22:37:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-01-16 09:43:29 +0800 |
| commit | 4bc80943272b031e41a7047f795d85a04682cbd6 (patch) | |
| tree | 4276043c0055ef7247d5fffd080b3490ccda7a28 /xmake/core/ui/button.lua | |
| parent | 3b822fc48d1b11055e12463872c22950d2c61b4d (diff) | |
improve select view
Diffstat (limited to 'xmake/core/ui/button.lua')
| -rw-r--r-- | xmake/core/ui/button.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/ui/button.lua b/xmake/core/ui/button.lua index fdbfcbe64..f906e12d8 100644 --- a/xmake/core/ui/button.lua +++ b/xmake/core/ui/button.lua @@ -67,7 +67,7 @@ function button:draw(transparent) local textattr = self:textattr_val() -- selected? - if self:state("selected") then + if self:state("selected") and self:state("focused") then textattr = {textattr, "reverse"} end |
