summaryrefslogtreecommitdiff
path: root/xmake/core/ui/view.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-11-21 00:48:31 +0800
committerruki <[email protected]>2020-11-21 00:48:31 +0800
commit6aa64df1ce672b5d2cd37707d5673089c0a33e3f (patch)
tree41f213925bfe1e7f6d489a5da052bf08aa174c7e /xmake/core/ui/view.lua
parent96ce788dce7a63ab62c47750214f355c9c2eeced (diff)
support mouse for menuconf
Diffstat (limited to 'xmake/core/ui/view.lua')
-rw-r--r--xmake/core/ui/view.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/ui/view.lua b/xmake/core/ui/view.lua
index e450e6766..ec5f841a2 100644
--- a/xmake/core/ui/view.lua
+++ b/xmake/core/ui/view.lua
@@ -68,6 +68,7 @@ function view:init(name, bounds)
-- init options
local options = object()
options.selectable = false -- true if window can be selected
+ options.mouseable = false -- false by default
self._OPTIONS = options
-- init attributes