diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-12 02:22:38 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-12 02:22:38 +0800 |
commit | 1fc3524e40ced2e780f6b90fa4ca7725c839976f (patch) | |
tree | 1d3508d967c9269fd89b0fa2d45313e4c821c170 /cmd/mist/assets/qml/views/browser.qml | |
parent | df49c609a0fd055a4f0dac89db6863ad5532228f (diff) | |
parent | ebc506dae8a15e5dcce4e4369e21d04e3b8f9aa4 (diff) | |
download | dexon-1fc3524e40ced2e780f6b90fa4ca7725c839976f.tar dexon-1fc3524e40ced2e780f6b90fa4ca7725c839976f.tar.gz dexon-1fc3524e40ced2e780f6b90fa4ca7725c839976f.tar.bz2 dexon-1fc3524e40ced2e780f6b90fa4ca7725c839976f.tar.lz dexon-1fc3524e40ced2e780f6b90fa4ca7725c839976f.tar.xz dexon-1fc3524e40ced2e780f6b90fa4ca7725c839976f.tar.zst dexon-1fc3524e40ced2e780f6b90fa4ca7725c839976f.zip |
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
Diffstat (limited to 'cmd/mist/assets/qml/views/browser.qml')
-rw-r--r-- | cmd/mist/assets/qml/views/browser.qml | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/cmd/mist/assets/qml/views/browser.qml b/cmd/mist/assets/qml/views/browser.qml index db89c6837..04b2229ec 100644 --- a/cmd/mist/assets/qml/views/browser.qml +++ b/cmd/mist/assets/qml/views/browser.qml @@ -345,14 +345,21 @@ Rectangle { if (topBarStyle=="transparent") { // Adjust for a transparent sidebar Dapp - navBarBackground.visible = false; - back.visible = false; - appInfoPane.anchors.leftMargin = -16; - appInfoPaneShadow.anchors.leftMargin = -16; - webview.anchors.topMargin = -74; + navBarBackground.visible = false; + back.visible = false; + appInfoPane.anchors.leftMargin = -16; + appInfoPaneShadow.anchors.leftMargin = -16; + webview.anchors.topMargin = -74; webview.runJavaScript("document.querySelector('body').classList.add('ethereum-dapp-url-bar-style-transparent')") - }; + } else { + navBarBackground.visible = true; + back.visible = true; + appInfoPane.anchors.leftMargin = 0; + appInfoPaneShadow.anchors.leftMargin = 0; + webview.anchors.topMargin = 0; + + }; }); |