From fbe962c71d7c36804f9282e010db827592c7564b Mon Sep 17 00:00:00 2001 From: ldurniat Date: Sat, 19 Oct 2024 15:24:52 +0200 Subject: [PATCH] Fix : The order of arguments in the newButton function doesn't correspond to the documentation --- com/ponywolf/vjoy.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com/ponywolf/vjoy.lua b/com/ponywolf/vjoy.lua index 01f71a6..f72dfa9 100644 --- a/com/ponywolf/vjoy.lua +++ b/com/ponywolf/vjoy.lua @@ -7,7 +7,7 @@ local M = {} local stage = display.getCurrentStage() -function M.newButton(radius, key) +function M.newButton(key, radius) local instance radius = radius or 64