TheDesk Nano fixed

This commit is contained in:
cutls 2020-09-02 12:11:02 +09:00
parent f43bd64be2
commit 99793f2e20
2 changed files with 7 additions and 2 deletions

View File

@ -174,7 +174,7 @@ function system(mainWindow, dir, lang, dirname) {
}) })
nanowindow.loadURL(dir + '/nano.html') nanowindow.loadURL(dir + '/nano.html')
nanowindow.setAlwaysOnTop(true) nanowindow.setAlwaysOnTop(true)
//nanowindow.toggleDevTools() nanowindow.toggleDevTools()
nanowindow.setPosition(window_pos[0], window_pos[1]) nanowindow.setPosition(window_pos[0], window_pos[1])
nanowindow.on('close', function () { nanowindow.on('close', function () {
fs.writeFileSync(nano_info_path, JSON.stringify(nanowindow.getPosition())) fs.writeFileSync(nano_info_path, JSON.stringify(nanowindow.getPosition()))

View File

@ -6,6 +6,7 @@
<link href="./css/tl.css" type="text/css" rel="stylesheet" /> <link href="./css/tl.css" type="text/css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" /> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" type="text/css" rel="stylesheet"> <link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="./node_modules/grapheme-splitter/index.js"></script>
<title>TheDesk Nano</title> <title>TheDesk Nano</title>
<style> <style>
html { html {
@ -82,12 +83,16 @@
.cvo { .cvo {
grid-template-rows: auto 1rem 1fr auto 2rem; grid-template-rows: auto 1rem 1fr auto 2rem;
} }
.voice {
display: none;
}
</style> </style>
</head> </head>
<body> <body>
<script type="text/javascript" src="./node_modules/jquery/dist/jquery.js"></script> <script type="text/javascript" src="./node_modules/jquery/dist/jquery.js"></script>
<script> <script>
var pwa = false
$.strip_tags = function(str, allowed) { $.strip_tags = function(str, allowed) {
if (!str) { if (!str) {
return ""; return "";
@ -141,7 +146,7 @@
} }
</script> </script>
<script src="https://twemoji.maxcdn.com/2/twemoji.min.js?2.7"></script> <script src="https://twemoji.maxcdn.com/2/twemoji.min.js?2.7"></script>
<script type="text/javascript" src="view/en/main.js"></script> <script type="text/javascript" src="./js/platform/first.js"></script>
<script type="text/javascript" src="./js/post/status.js"></script> <script type="text/javascript" src="./js/post/status.js"></script>
<script type="text/javascript" src="./js/post/post.js"></script> <script type="text/javascript" src="./js/post/post.js"></script>
<script type="text/javascript" src="./js/post/use-txtbox.js"></script> <script type="text/javascript" src="./js/post/use-txtbox.js"></script>