1
0
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:
2023-08-20 00:52:33 +02:00
parent cddc6479ed
commit 8db3b5e15c
5 changed files with 4 additions and 4 deletions

View File

@@ -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.

View File

@@ -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.",

View File

@@ -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

View File

@@ -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.",