diff options
| author | ruki <[email protected]> | 2018-01-23 22:19:11 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-01-23 07:55:11 +0800 |
| commit | 2db3a5f053faebb08c3e65e5b097d0de4064ac1e (patch) | |
| tree | 460a7b2fb2d10f510a3bc712f2bd60f89e626abf /xmake/core/ui/view.lua | |
| parent | ac234fd5eb079d9e21485ac7d4b06c2c30d2db2a (diff) | |
add action enums to ui
Diffstat (limited to 'xmake/core/ui/view.lua')
| -rw-r--r-- | xmake/core/ui/view.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/ui/view.lua b/xmake/core/ui/view.lua index ef5c5d64a..23a3faa87 100644 --- a/xmake/core/ui/view.lua +++ b/xmake/core/ui/view.lua @@ -345,8 +345,8 @@ function view:action(name) end -- set action -function view:action_set(name, action) - self._ACTIONS[name] = action +function view:action_set(name, on_action) + self._ACTIONS[name] = on_action return self end |
