mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-09 12:42:39 +01:00
Так попизже
This commit is contained in:
parent
9e05d3ec90
commit
296fea8bad
@ -476,7 +476,7 @@
|
||||
icon="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/Finder/Icon.pic",
|
||||
createShortcut="dock",
|
||||
forceDownload=true,
|
||||
version=1.21,
|
||||
version=1.22,
|
||||
},
|
||||
{
|
||||
path="/MineOS/Applications/3DTest",
|
||||
|
||||
@ -246,7 +246,7 @@ window.statusBar.eventHandler = function(mainContainer, object, eventData)
|
||||
end
|
||||
end
|
||||
end
|
||||
window.sidebarResizer = window:addChild(GUI.resizer(1, 4, 3, 7, 0xFFFFFF, 0x0))
|
||||
window.sidebarResizer = window:addChild(GUI.resizer(1, 4, 3, 5, 0xFFFFFF, 0x0))
|
||||
|
||||
local function calculateSizes(width, height)
|
||||
window.sidebarContainer.height = height - 3
|
||||
@ -288,7 +288,7 @@ end
|
||||
|
||||
window.sidebarResizer.onResize = function(dragWidth, dragHeight)
|
||||
window.sidebarContainer.width = window.sidebarContainer.width + dragWidth
|
||||
window.sidebarContainer.width = window.sidebarContainer.width >= 4 and window.sidebarContainer.width or 4
|
||||
window.sidebarContainer.width = window.sidebarContainer.width >= 5 and window.sidebarContainer.width or 5
|
||||
|
||||
calculateSizes(window.width, window.height)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user