feat: latitude/longitude configuráveis para o céu realista
Padrão Toledo-PR (-24.72, -53.74); campos aceitam vírgula ou ponto. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015HtPHsTnDcLVSCiF5FGHZj
This commit is contained in:
parent
05e465e33f
commit
6415112f9a
3 changed files with 35 additions and 0 deletions
|
|
@ -11,6 +11,8 @@ WallpaperItem {
|
|||
webView.runJavaScript("setShowSkeleton(" + Plasmoid.configuration.ShowSkeleton + ")")
|
||||
webView.runJavaScript("setBaladaMode(" + Plasmoid.configuration.BaladaMode + ")")
|
||||
webView.runJavaScript("setChuvaMode(" + Plasmoid.configuration.ChuvaMode + ")")
|
||||
webView.runJavaScript("setObserverLocation(" + Plasmoid.configuration.Latitude + ","
|
||||
+ Plasmoid.configuration.Longitude + ")")
|
||||
}
|
||||
|
||||
Connections {
|
||||
|
|
@ -18,6 +20,8 @@ WallpaperItem {
|
|||
function onShowSkeletonChanged() { applyConfig() }
|
||||
function onBaladaModeChanged() { applyConfig() }
|
||||
function onChuvaModeChanged() { applyConfig() }
|
||||
function onLatitudeChanged() { applyConfig() }
|
||||
function onLongitudeChanged() { applyConfig() }
|
||||
}
|
||||
|
||||
WebEngineView {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue