- 修复SSH字体过小的问题
This commit is contained in:
parent
a55e2118a3
commit
60fbb507f5
2
main.go
2
main.go
@ -24,7 +24,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
const Version = "v0.3.1"
|
const Version = "v0.3.2"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
err := Run()
|
err := Run()
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "next-terminal",
|
"name": "next-terminal",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ant-design/icons": "^4.3.0",
|
"@ant-design/icons": "^4.3.0",
|
||||||
|
@ -377,10 +377,10 @@ class Access extends Component {
|
|||||||
|
|
||||||
let width = window.innerWidth;
|
let width = window.innerWidth;
|
||||||
let height = window.innerHeight;
|
let height = window.innerHeight;
|
||||||
let dpi = Math.floor(window.devicePixelRatio * 96);
|
let dpi = 96;
|
||||||
// if (protocol === 'ssh' || protocol === 'telnet') {
|
if (protocol === 'ssh' || protocol === 'telnet') {
|
||||||
// dpi = dpi * 2;
|
dpi = dpi * 2;
|
||||||
// }
|
}
|
||||||
|
|
||||||
let token = getToken();
|
let token = getToken();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user