diff options
| author | ruki <[email protected]> | 2020-11-29 22:36:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-11-29 22:36:04 +0800 |
| commit | e4058387bfd67c02aa0e065705655b1e4b0aafbf (patch) | |
| tree | d2dfd95343e3161a9e4dc55691e37abbca69b430 /xmake/core/ui/panel.lua | |
| parent | d48118e840fc0be69f3d78a3894e4bf76b8d801b (diff) | |
support scrollbar
Diffstat (limited to 'xmake/core/ui/panel.lua')
| -rw-r--r-- | xmake/core/ui/panel.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/ui/panel.lua b/xmake/core/ui/panel.lua index 3a9b6c042..2d860fc7a 100644 --- a/xmake/core/ui/panel.lua +++ b/xmake/core/ui/panel.lua @@ -64,7 +64,7 @@ function panel:init(name, bounds) local p = v:last() while p do - if p:option('selectable') and p:bounds():contains(x, y) then + if p:option("selectable") and p:bounds():contains(x, y) then if p:option("mouseable") then v:select(p) return p:action_on(action.ac_on_clicked, x, y) |
