Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit b9e3e2e

Browse files
committed
Release 1.1.1
1 parent 0770cad commit b9e3e2e

3 files changed

Lines changed: 8 additions & 20 deletions

File tree

config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
config = {
22
name = 'Raphael\'s Library',
3-
version = '1.1.0',
3+
version = '1.1.1',
44
windbot = '1.3.3',
55

66
files = {

dist/Raphael.lua

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,17 @@
1-
-- Raphael's Library v1.1.0
2-
-- Last Updated: 01/02/2014 - 23:42 UTC
1+
-- Raphael's Library v1.1.1
2+
-- Last Updated: 02/02/2014 - 00:05 UTC
33
-- Released for WindBot v1.3.3
44

5-
RAPHAEL_LIB = '1.1.0'
5+
RAPHAEL_LIB = '1.1.1'
66

77
LIBS = LIBS or {}
88
LIBS.RAPHAEL = RAPHAEL_LIB
99

1010

1111
--[[
12-
* Changelog v1.1.0
12+
* Changelog v1.1.1
1313
*
14-
* - Added string.rtrim, string.ltrim and string.trim.
15-
* - Added table.copy, table.filter and table.merge.
16-
* - Added table.sum, table.average, table.min and table.max.
17-
* - Added calltable, setsetting and waitcondition.
18-
* - Added Point class.
19-
* - Added HUD class.
20-
* - Updated userdatastringformat.
21-
* - Fixed maxcap.
22-
* - Fixed table.stringformat.
23-
* - Fixed REGEX_SERVER_SAVE.
14+
* - Minor fixes for HUD class.
2415
*
2516
--]]
2617

@@ -1854,7 +1845,7 @@ function HUD:new(options)
18541845

18551846
local oldPos = newObj.database:getvalue('HUDs Info', newObj.uniqueId .. '.position')
18561847
if oldPos ~= nil then
1857-
newObj.startPosition = Point:new(oldPos:explode(';'))
1848+
newObj.startPosition = newObj.posRelativeTo() + Point:new(oldPos:explode(';'))
18581849
end
18591850
end
18601851

@@ -1920,10 +1911,6 @@ function HUD:drag()
19201911

19211912
self:setPosition((curMouse - self.mousePos) + getposition())
19221913
self.mousePos = curMouse
1923-
1924-
if self.savePosition then
1925-
self:updateSavedPosition()
1926-
end
19271914
end
19281915
end
19291916

log/changelog-1.1.1.log

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* - Minor fixes for HUD class.

0 commit comments

Comments
 (0)