Skip to content

Commit

Permalink
fix placement of check-button
Browse files Browse the repository at this point in the history
  • Loading branch information
blind-coder committed Aug 18, 2015
1 parent c6c8fad commit 5630257
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions media/lua/client/tiny_avc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,11 @@ end -- }}}
TinyAVC.init = function() -- {{{
-- Position the button next to the Get Mods button
local x = MainScreen.instance.modSelect.getModButton:getX();
x = x + MainScreen.instance.modSelect.getModButton:getWidth();
x = x + 10;
local y = MainScreen.instance.modSelect.getModButton:getY();
local w = MainScreen.instance.modSelect.getModButton:getWidth();
local h = MainScreen.instance.modSelect.getModButton:getHeight();
x = x - w;
x = x - 10;

TinyAVC.checkNow = ISButton:new(x, y, w, h, getText('UI_TinyAVC_Button_Text'), nil, TinyAVC.checkForUpdate);
TinyAVC.checkNow.borderColor = {r=1, g=1, b=1, a=0.1};
Expand Down

0 comments on commit 5630257

Please sign in to comment.