From c2dbd963a243b237df48b409f855ef4099f710c9 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 11 Sep 2017 19:54:41 +0200 Subject: Removed obsolete wrapper for ratioed Decoration --- not/Decoration.lua | 9 --------- 1 file changed, 9 deletions(-) (limited to 'not') diff --git a/not/Decoration.lua b/not/Decoration.lua index 6068a61..97524f5 100644 --- a/not/Decoration.lua +++ b/not/Decoration.lua @@ -21,13 +21,4 @@ function Decoration:setPosition (x, y) self.x, self.y = x, y end --- TODO: Temporary wrapper for draw to keep background in place. -function Decoration:draw (offset_x, offset_y, scale) - if self.ratio ~= nil then - offset_x = offset_x * self.ratio - offset_y = offset_y * self.ratio - end - Decoration.__super.draw(self, offset_x, offset_y, scale) -end - return Decoration -- cgit v1.1