NETSCRIPT: Added changing tail font size through scripts (#1852)

This commit is contained in:
G4mingJon4s
2025-01-05 01:51:13 +01:00
committed by GitHub
parent 3db190c9a0
commit c622291eff
9 changed files with 97 additions and 1 deletions
+2
View File
@@ -63,6 +63,7 @@ import {
validateSourceFileOverrides,
} from "../BitNode/BitNodeUtils";
import { JSONMap } from "../Types/Jsonable";
import { Settings } from "../Settings/Settings";
export const helpers = {
string,
@@ -747,6 +748,7 @@ function createPublicRunningScript(runningScript: RunningScript, workerScript?:
y: logProps.y,
width: logProps.width,
height: logProps.height,
fontSize: logProps.fontSize ?? Settings.styles.tailFontSize,
},
title: runningScript.title,
threads: runningScript.threads,
+1
View File
@@ -602,6 +602,7 @@ export const RamCosts: RamCostTree<NSFull> = {
resizeTail: 0,
closeTail: 0,
setTitle: 0,
setTailFontSize: 0,
clearPort: 0,
openDevMenu: 0,
alert: 0,