|
|
|
@ -25,7 +25,7 @@
@@ -25,7 +25,7 @@
|
|
|
|
|
|
|
|
|
|
_addon.author = 'atom0s'; |
|
|
|
|
_addon.name = 'ItemWatch'; |
|
|
|
|
_addon.version = '3.0.0'; |
|
|
|
|
_addon.version = '3.0.1'; |
|
|
|
|
|
|
|
|
|
require 'common' |
|
|
|
|
require 'imguidef' |
|
|
|
@ -747,6 +747,8 @@ function render_configuration_editor()
@@ -747,6 +747,8 @@ function render_configuration_editor()
|
|
|
|
|
save_settings(); |
|
|
|
|
end |
|
|
|
|
if (imgui.InputInt('Font X Position', variables['var_FontPositionX'][1])) then |
|
|
|
|
local x = imgui.GetVarValue(variables['var_FontPositionX'][1]); |
|
|
|
|
font:SetPositionX(x); |
|
|
|
|
save_settings(); |
|
|
|
|
else |
|
|
|
|
if (font ~= nil) then |
|
|
|
@ -754,6 +756,8 @@ function render_configuration_editor()
@@ -754,6 +756,8 @@ function render_configuration_editor()
|
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
if (imgui.InputInt('Font Y Position', variables['var_FontPositionY'][1])) then |
|
|
|
|
local y = imgui.GetVarValue(variables['var_FontPositionY'][1]); |
|
|
|
|
font:SetPositionY(y); |
|
|
|
|
save_settings(); |
|
|
|
|
else |
|
|
|
|
if (font ~= nil) then |
|
|
|
|