refactor: controla constelações por script de atalho
This commit is contained in:
parent
740c9b836b
commit
bfb8f31952
5 changed files with 26 additions and 12 deletions
|
|
@ -11,7 +11,6 @@ WallpaperItem {
|
|||
webView.runJavaScript("setShowSkeleton(" + Plasmoid.configuration.ShowSkeleton + ")")
|
||||
webView.runJavaScript("setBaladaMode(" + Plasmoid.configuration.BaladaMode + ")")
|
||||
webView.runJavaScript("setChuvaMode(" + Plasmoid.configuration.ChuvaMode + ")")
|
||||
webView.runJavaScript("setShowConstellations(" + Plasmoid.configuration.ShowConstellations + ")")
|
||||
webView.runJavaScript("setObserverLocation(" + Plasmoid.configuration.Latitude + ","
|
||||
+ Plasmoid.configuration.Longitude + ")")
|
||||
}
|
||||
|
|
@ -21,7 +20,6 @@ WallpaperItem {
|
|||
function onShowSkeletonChanged() { applyConfig() }
|
||||
function onBaladaModeChanged() { applyConfig() }
|
||||
function onChuvaModeChanged() { applyConfig() }
|
||||
function onShowConstellationsChanged() { applyConfig() }
|
||||
function onLatitudeChanged() { applyConfig() }
|
||||
function onLongitudeChanged() { applyConfig() }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue