fix last PR
This commit is contained in:
parent
ec700ad37d
commit
e2161bcc43
@ -352,11 +352,11 @@ div.trust-me > div:nth-child(3) {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#id-menu {
|
div#myid {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
#id-menu svg#menu {
|
div#myid svg#menu {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -1em;
|
right: -1em;
|
||||||
}
|
}
|
||||||
|
@ -186,8 +186,8 @@ class MyIdMenu: Reactor.Component {
|
|||||||
audioInputMenu.update({ show: true });
|
audioInputMenu.update({ show: true });
|
||||||
this.toggleMenuState();
|
this.toggleMenuState();
|
||||||
if (direct_server) direct_server.update();
|
if (direct_server) direct_server.update();
|
||||||
var menu = $(menu#config-options);
|
var menu = this.$(menu#config-options);
|
||||||
this.popup(menu);
|
this.$(svg#menu).popup(menu);
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleMenuState() {
|
function toggleMenuState() {
|
||||||
@ -355,7 +355,7 @@ class App: Reactor.Component
|
|||||||
<div .title>{translate('Your Desktop')}</div>
|
<div .title>{translate('Your Desktop')}</div>
|
||||||
<div .lighter-text>{translate('desk_tip')}</div>
|
<div .lighter-text>{translate('desk_tip')}</div>
|
||||||
<div .your-desktop>
|
<div .your-desktop>
|
||||||
<MyIdMenu #id-menu/>
|
<MyIdMenu />
|
||||||
{key_confirmed ? <input type="text" readonly value={formatId(get_id())}/> : translate("Generating ...")}
|
{key_confirmed ? <input type="text" readonly value={formatId(get_id())}/> : translate("Generating ...")}
|
||||||
</div>
|
</div>
|
||||||
<div .your-desktop>
|
<div .your-desktop>
|
||||||
@ -739,7 +739,7 @@ event keydown (evt) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$(body).content(<App #app/>);
|
$(body).content(<App />);
|
||||||
|
|
||||||
function self.closing() {
|
function self.closing() {
|
||||||
// return false; // can prevent window close
|
// return false; // can prevent window close
|
||||||
@ -760,11 +760,11 @@ function self.ready() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function showAbout() {
|
function showAbout() {
|
||||||
$(body).$(#app).$(#id-menu).showAbout();
|
myIdMenu.showAbout();
|
||||||
}
|
}
|
||||||
|
|
||||||
function showSettings() {
|
function showSettings() {
|
||||||
$(body).$(#app).$(#id-menu).showSettingMenu();
|
myIdMenu.showSettingMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkConnectStatus() {
|
function checkConnectStatus() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user