We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fdcd7f commit 0770cadCopy full SHA for 0770cad
1 file changed
src/HUD Class.lua
@@ -25,7 +25,7 @@ function HUD:new(options)
25
26
local oldPos = newObj.database:getvalue('HUDs Info', newObj.uniqueId .. '.position')
27
if oldPos ~= nil then
28
- newObj.startPosition = Point:new(oldPos:explode(';'))
+ newObj.startPosition = newObj.posRelativeTo() + Point:new(oldPos:explode(';'))
29
end
30
31
@@ -91,9 +91,5 @@ function HUD:drag()
91
92
self:setPosition((curMouse - self.mousePos) + getposition())
93
self.mousePos = curMouse
94
-
95
- if self.savePosition then
96
- self:updateSavedPosition()
97
- end
98
99
0 commit comments