mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-19 02:16:43 +00:00
more window stuff
This commit is contained in:
@@ -277,7 +277,7 @@ This color is used to indicate the selected range of text.
|
||||
local startX, endX = self.startX or 0, self.endX or 0
|
||||
local x, y, w, h = self:getRectangle(true, true)
|
||||
local width, height = endX - startX, h
|
||||
local font = self.fontData
|
||||
local font = self:getFont()
|
||||
local color = self.color or { 0, 0, 0, 255 }
|
||||
local textTop = math.floor(y + (h - font:getLineHeight()) / 2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user