mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-09 12:42:39 +01:00
Update ECSAPI.lua
This commit is contained in:
parent
a78dfd7472
commit
f3d2e64e92
@ -68,7 +68,7 @@ function ECSAPI.setScale(scale, debug)
|
||||
end
|
||||
|
||||
--Собсна, арсчет масштаба
|
||||
local xScreens, yScreens = screen.getAspectRatio()
|
||||
local xScreens, yScreens = component.screen.getAspectRatio()
|
||||
|
||||
local xPixels, yPixels = calculateAspect(xScreens), calculateAspect(yScreens)
|
||||
|
||||
@ -1123,5 +1123,7 @@ end
|
||||
-- if not success then ECSAPI.displayCompileMessage(1, reason, true) end
|
||||
-- ECSAPI.select("auto", "auto", " ", {{"С твоим компом опять хуйня!"}}, {{"Блядь!"}})
|
||||
-- ECSAPI.error("Да иди ты на хуй, чмо, я мать твою на хую")
|
||||
ECSAPI.setScale(1)
|
||||
|
||||
|
||||
return ECSAPI
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user