summaryrefslogtreecommitdiff
path: root/xmake/core/ui/panel.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-11-29 22:36:04 +0800
committerruki <[email protected]>2020-11-29 22:36:04 +0800
commite4058387bfd67c02aa0e065705655b1e4b0aafbf (patch)
treed2dfd95343e3161a9e4dc55691e37abbca69b430 /xmake/core/ui/panel.lua
parentd48118e840fc0be69f3d78a3894e4bf76b8d801b (diff)
support scrollbar
Diffstat (limited to 'xmake/core/ui/panel.lua')
-rw-r--r--xmake/core/ui/panel.lua2
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)