Фиксы слайдера и хуйнины этой

This commit is contained in:
Igor Timofeev
2018-02-12 11:44:12 +03:00
parent bcf574f073
commit b04d685455
5 changed files with 50 additions and 61 deletions

View File

@@ -17,8 +17,8 @@ end
function screenScale.getResolution(scale, debug)
if scale > 1 then
scale = 1
elseif scale < 0.1 then
scale = 0.1
elseif scale <= 0.01 then
scale = 0.01
end
local xScreens, yScreens = component.proxy(component.gpu.getScreen()).getAspectRatio()