1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-26 07:03:22 +00:00

Fix term.getTextScale() not using the main monitor

This commit is contained in:
SquidDev 2017-11-19 13:48:29 +00:00
parent 56b1cb4521
commit aa447ec101

View File

@ -290,7 +290,8 @@ private ITerminal getLocalTerminal()
public double getTextScale()
{
return m_textScale * 0.5;
TileMonitor origin = getOrigin();
return (origin == null ? m_textScale : origin.m_textScale) * 0.5;
}
private void rebuildTerminal()