Multiple profiles (#312)
* Navbar user profile * profiles stuff * fix profile * Lint fix * Some ui experiments * More ui work * progress * Lint fix * migration, web api, wip * profile view and web app * web app and apis * Invidious and profiles * Lint fix * bug fix * Remove ActionContentNode * Profile icon button, profile color * Lint fix * reset server url * href that doesn't work * remove activate button on active profile * TODO * Fin. * Final touches --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
1 parent
8e03ca0ea6
commit
394dd23999
60 files changed
+1725
-311
No files matched your search
@@ -2,7 +2,7 @@ import "pkg:/source/utils/MathUtils.bs"
|
||||
import "pkg:/source/utils/Types.bs"
|
||||
|
||||
' Based on https://github.com/jellyfin/jellyfin-roku/blob/unstable/components/IconButton.brs
|
||||
function init()
|
||||
function Init()
|
||||
m.buttonBackground = m.top.findNode("buttonBackground")
|
||||
m.buttonIcon = m.top.findNode("buttonIcon")
|
||||
m.buttonText = m.top.findNode("buttonText")
|
||||
@@ -46,7 +46,7 @@ function setIconSize()
|
||||
m.buttonIcon.width = iconSize
|
||||
|
||||
m.buttonIcon.translation = [((width - iconSize) / 2), ((height - iconSize) / 2)]
|
||||
m.buttonText.translation = [-5, height]
|
||||
m.buttonText.translation = [-5, height + 2]
|
||||
m.buttonText.width = width + 10
|
||||
end if
|
||||
end function
|
||||
|
||||
Reference in new issue
Block a user