mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
More Rubocop
This commit is contained in:
@@ -396,7 +396,7 @@ def pbDoEnsureBitmap(bitmap, dwidth, dheight)
|
||||
bitmap&.dispose
|
||||
bitmap = Bitmap.new([1, dwidth].max, [1, dheight].max)
|
||||
(oldfont) ? bitmap.font = oldfont : pbSetSystemFont(bitmap)
|
||||
bitmap.font.shadow = false if bitmap.font&.respond_to?("shadow")
|
||||
bitmap.font.shadow = false if bitmap.font.respond_to?("shadow")
|
||||
end
|
||||
return bitmap
|
||||
end
|
||||
|
||||
@@ -512,7 +512,6 @@ class Window_MultilineTextEntry < SpriteWindow_Base
|
||||
startY = getLineY(@firstline)
|
||||
textchars.each do |text|
|
||||
thisline = text[5]
|
||||
thiscolumn = text[7]
|
||||
thislength = text[8]
|
||||
textY = text[2] - startY
|
||||
# Don't draw lines before the first or zero-length segments
|
||||
|
||||
Reference in New Issue
Block a user