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