Commit 2e56e0a2ad8bad23e89bf7c4b390eb17ba23f10f
1 parent
75c2471a
Keyboard movement updates tooltip in shops
git-svn-id: http://svn.net-core.org/repos/t-engine4@5141 51575b47-30f0-44d4-a5cc-537603b46e54
Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -45,7 +45,7 @@ function _M:init(title, store_inven, actor_inven, store_filter, actor_filter, ac |
45 | 45 | {name="Price", width={50,"fixed"}, display_prop=function(item) return self.descprice("sell", item.object) end, sort=function(a, b) return descprice("sell", a.object) < descprice("sell", b.object) end}, |
46 | 46 | }, |
47 | 47 | fct=function(item, sel, button, event) self:use(item, button, event) end, |
48 | - on_select=function(item, sel) self:select(item) end, | |
48 | + select=function(item, sel) self:select(item) end, | |
49 | 49 | on_drag=function(item) self:onDrag(item, "store-sell") end, |
50 | 50 | on_drag_end=function() self:onDragTakeoff("store-buy") end, |
51 | 51 | } |
... | ... | @@ -58,7 +58,7 @@ function _M:init(title, store_inven, actor_inven, store_filter, actor_filter, ac |
58 | 58 | {name="Price", width={50,"fixed"}, display_prop=function(item) return self.descprice("buy", item.object) end, sort=function(a, b) return descprice("buy", a.object) < descprice("buy", b.object) end}, |
59 | 59 | }, |
60 | 60 | fct=function(item, sel, button, event) self:use(item, button, event) end, |
61 | - on_select=function(item, sel) self:select(item) end, | |
61 | + select=function(item, sel) self:select(item) end, | |
62 | 62 | on_drag=function(item) self:onDrag(item, "store-buy") end, |
63 | 63 | on_drag_end=function() self:onDragTakeoff("store-sell") end, |
64 | 64 | } | ... | ... |
-
Please register or login to post a comment