Localization part 3 (#333)
* TODO * TODO * Add some translations * Remote screen and settings * Video player and http client
This commit is contained in:
1 parent
9a7db6aab2
commit
7330b321a5
19 files changed
+837
-85
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import "pkg:/source/utils/MathUtils.bs"
|
||||
import "pkg:/source/utils/Types.bs"
|
||||
|
||||
function Init()
|
||||
@@ -21,7 +22,10 @@ function Resize()
|
||||
width = rect.width + m.top.padding * 2
|
||||
height = rect.height + m.top.padding * 2
|
||||
|
||||
m.top.minWidth = width < m.top.minimumWidth ? m.top.minimumWidth : width
|
||||
m.top.contentWidth = width
|
||||
m.top.contentHeight = height
|
||||
|
||||
m.top.minWidth = MathUtils.Max(m.top.minimumWidth, width)
|
||||
m.top.height = height
|
||||
|
||||
m.container.translation = [m.top.padding, m.top.padding]
|
||||
|
||||
Reference in new issue
Block a user