mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
More tweaks from the Rubocop overlord
This commit is contained in:
@@ -42,11 +42,11 @@ class PokegearButton < SpriteWrapper
|
||||
rect.y = @button.height / 2 if @selected
|
||||
self.bitmap.blt(0, 0, @button.bitmap, rect)
|
||||
textpos = [
|
||||
[@name, self.bitmap.width / 2, 4, 2, Color.new(248, 248, 248), Color.new(40, 40, 40)]
|
||||
[@name, self.bitmap.width / 2, 4, 2, Color.new(248, 248, 248), Color.new(40, 40, 40)]
|
||||
]
|
||||
pbDrawTextPositions(self.bitmap, textpos)
|
||||
imagepos = [
|
||||
[sprintf("Graphics/Pictures/Pokegear/icon_" + @image), 18, 10]
|
||||
[sprintf("Graphics/Pictures/Pokegear/icon_" + @image), 18, 10]
|
||||
]
|
||||
pbDrawImagePositions(self.bitmap, imagepos)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user