TGchat: Move notifications to the top (#24793)

This commit is contained in:
Aylong
2024-03-26 09:47:47 +00:00
committed by GitHub
parent ac35ae1cdc
commit ecf75dc2b7
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ export const ReconnectButton = () => {
icon="power-off"
color="white"
tooltip="Restart game"
tooltipPosition="top-end"
tooltipPosition="bottom-end"
onClick={() => {
Byond.command('.quit');
}}
@@ -5,8 +5,8 @@
.Notifications {
position: absolute;
bottom: 1em;
left: 1em;
top: 1em;
left: 0.75em;
right: 2em;
}
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -197,7 +197,7 @@
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
*/var t=e.selectPing=function(){function n(r){return r.ping}return n}()},92231:function(E,e,t){"use strict";e.__esModule=!0,e.ReconnectButton=void 0;var n=t(28823),r=t(2971),o=null;setInterval(function(){Byond.winget("","url").then(function(u){u&&!u.match(/:0$/)&&(o=u)})},5e3);var a=e.ReconnectButton=function(){function u(){return o?(0,n.createComponentVNode)(2,r.Stack,{children:[(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Button,{fluid:!0,icon:"history",color:"white",content:"Reconnect",onClick:function(){function l(){Byond.command(".reconnect")}return l}()})}),(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Button,{icon:"power-off",color:"white",tooltip:"Restart game",tooltipPosition:"top-end",onClick:function(){function l(){Byond.command(".quit")}return l}()})})]}):null}return u}()},92999:function(E,e,t){"use strict";e.__esModule=!0,e.SettingsPanel=e.SettingsGeneral=void 0;var n=t(28823),r=t(37843),o=t(58331),a=t(91819),u=t(90816),l=t(2971),c=t(23360),h=t(3578),v=t(70450),i=t(91577),d=t(95397),s=t(65910),p=["id"];/**
*/var t=e.selectPing=function(){function n(r){return r.ping}return n}()},92231:function(E,e,t){"use strict";e.__esModule=!0,e.ReconnectButton=void 0;var n=t(28823),r=t(2971),o=null;setInterval(function(){Byond.winget("","url").then(function(u){u&&!u.match(/:0$/)&&(o=u)})},5e3);var a=e.ReconnectButton=function(){function u(){return o?(0,n.createComponentVNode)(2,r.Stack,{children:[(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Button,{fluid:!0,icon:"history",color:"white",content:"Reconnect",onClick:function(){function l(){Byond.command(".reconnect")}return l}()})}),(0,n.createComponentVNode)(2,r.Stack.Item,{children:(0,n.createComponentVNode)(2,r.Button,{icon:"power-off",color:"white",tooltip:"Restart game",tooltipPosition:"bottom-end",onClick:function(){function l(){Byond.command(".quit")}return l}()})})]}):null}return u}()},92999:function(E,e,t){"use strict";e.__esModule=!0,e.SettingsPanel=e.SettingsGeneral=void 0;var n=t(28823),r=t(37843),o=t(58331),a=t(91819),u=t(90816),l=t(2971),c=t(23360),h=t(3578),v=t(70450),i=t(91577),d=t(95397),s=t(65910),p=["id"];/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT