mirror of
https://github.com/AR2000AR/openComputers_codes.git
synced 2025-09-04 12:45:58 +02:00
[yawl] fix callback bug
This commit is contained in:
@@ -253,7 +253,7 @@
|
||||
["yawl"] = {
|
||||
["manifestVersion"] = "1.0",
|
||||
["package"] = "yawl",
|
||||
["version"] = "1.7.0",
|
||||
["version"] = "1.7.1",
|
||||
["name"] = "Yet Another Widget Library",
|
||||
["repo"] = "tree/master/yawl",
|
||||
["description"] = "New version of libgui, but using libclass2 and cleaner code and interface.",
|
||||
|
Binary file not shown.
@@ -254,7 +254,7 @@
|
||||
}
|
||||
},
|
||||
["yawl"] = {
|
||||
version = "1.7.0",
|
||||
version = "1.7.1",
|
||||
name = "Yet Another Widget Library",
|
||||
repo = "tree/master/yawl",
|
||||
description = "New version of libgui, but using libclass2 and cleaner code and interface.",
|
||||
|
@@ -246,7 +246,7 @@ end
|
||||
function Widget:invokeCallback(eName, ...)
|
||||
if (not self:enabled()) then return end
|
||||
local callback = self:singleCallback(eName)
|
||||
return callback(self, select(2, self:callback()), eName, ...)
|
||||
return callback(self, select(2, self:singleCallback(eName)), eName, ...)
|
||||
end
|
||||
|
||||
---Check if the x,y coordinates match the Widget
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
["manifestVersion"] = "1.0",
|
||||
["package"] = "yawl",
|
||||
["version"] = "1.7.0",
|
||||
["version"] = "1.7.1",
|
||||
["name"] = "Yet Another Widget Library",
|
||||
["repo"] = "tree/master/yawl",
|
||||
["description"] = "New version of libgui, but using libclass2 and cleaner code and interface.",
|
||||
|
Reference in New Issue
Block a user