改写控件滚动相关代码,解决控件颜色偏差和非标准屏幕尺寸未定义行为
This commit is contained in:
@@ -351,6 +351,7 @@ function love.resize(w,h)
|
||||
SCR.resize(w,h)
|
||||
if BG.resize then BG.resize(w,h)end
|
||||
if SCN.resize then SCN.resize(w,h)end
|
||||
WIDGET.resize(w,h)
|
||||
|
||||
SHADER.warning:send("w",w*SCR.dpi)
|
||||
SHADER.warning:send("h",h*SCR.dpi)
|
||||
|
||||
Reference in New Issue
Block a user